Error: [$compile:multidir] Multiple directives [mdTab (module: material.components.tabs), permission] asking for new/isolated
See original GitHub issueHey guys, I’m trying to use the lib with some angular material components, but I’m having the following issue:
angular.js:13236 Critical ERROR!: ERRA0001: Error: [$compile:multidir] Multiple directives [mdTab (module: material.components.tabs), permission] asking for new/isolated scope on: <md-tab permission="" only="'technician'" label="Working on">
The code I have is:
<md-tabs >
<md-tab permission only="'technician'" >
....
</md-tab>
<md-tab permission only="'customer'" >
....
</md-tab>
</md-tabs>
It is not possible to use the permission directive with another directive?
Thanks!
Issue Analytics
- State:
- Created 8 years ago
- Comments:7
Top Results From Across the Web
Multiple directives asking for new/isolated scope - Angular ...
The issue is that ng-controller creates an isolated scope. This is mentioned in the official Angular documentation.
Read more >Multiple directives [mdTabs (module: material.components ...
Hi, I am trying to use ng-sortable with md-tabs. Error: [$compile:multidir] ...
Read more >Directives > mdTabs - AngularJS Material
The <md-tabs> directive serves as the container for 1..n <md-tab> child directives. In turn, the nested <md-tab> directive is used to specify a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You rock! Thanks!
Test are passing and everything seems ok, so in v2.3.1 ill release updated directive 👍