How to nest two directives on the same element in AngularJS?

后端 未结 7 971
误落风尘
误落风尘 2020-12-13 09:30

When I try to nest two directives on the same element I get the following error. Nested \"E\" directives - Multiple directives [...] asking for new/isolated scope

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 10:26

    My problem was because I was including the directive JS file twice

提交回复
热议问题