Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Accordion breaks transcluded scope inheritance when used as a part of template of directive that has isolated scope. #2344

Closed
KamilSzot opened this issue Jun 16, 2014 · 2 comments

Comments

@KamilSzot
Copy link

If I have a directive (with transclude true) that has accordion in it's template then the transcluded scope of that directive does no longer inherit from outside scope (via __proto__, it's still accessible via $parent). It happens only if my directive has isolated scope.

http://jsfiddle.net/Z48WQ/2/

@KamilSzot
Copy link
Author

Workaround:
http://jsfiddle.net/Z48WQ/5/

@KamilSzot
Copy link
Author

Already fixed in Angular 1.2.18. Probably with pull angular/angular.js#7387

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant