Skip to content

v1.0.8 two instance of same directives(or controller) in one scene #86

@soonwait

Description

@soonwait

I had add two directives to one view same time. like this:

<div ui-view>
  <div test-my-directive data-ng-if="model1">DIV 1<div>
  <div test-my-directive data-ng-if="model2">DIV 2<div>
<div>

I used $css.bind(....., $scope) in controller of directive

when i try to close DIV2 by set model2 === false
DIV1'css style dispeared unexpectly!!! why ????

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions