This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
ng-if on the root element in a template for isolated scope directives will cause a scope level to be skipped #9915
Labels
Milestone
in an isolate scope directive, if the root element of the template uses the ng-if (or presumably any transclusion) the directive will inherit the exterior scope instead of its own.
apparently related: is there a reason that root element of isolate scope directives are not bound to their own scope? this is easily seen in chrome debugger by clicking on an element with an isolate-scope class and checking its $scope within the console.
The text was updated successfully, but these errors were encountered: