Hi Sander,

Thank you for the clarification. Is this documented? I skimmed the docs and 
found a best practice regarding this but for transcluded scopes 
(https://docs.angularjs.org/api/ng/service/$compile#transclusion). Perhaps 
the best practice should be repeated under isolate scopes as well?

Per

On Monday, October 27, 2014 10:26:00 AM UTC+1, Sander Elias wrote:
>
> Hi Chrisopher, Per,
>
> Yes, this is expected behavior. An isolate scope is indeed well isolated. 
> For good reasons.
> There are a couple of things you can do.
> Firstly, you can do what Per suggested in his msg.
> Secondly, you can listen do something like 
> $scope.$parent.$on('$destroy',function 
> () {...})
>
> Regards
> Sander
> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to