Hi!
It seems as i have not realized that there is a difference between isolated
scope and a new scope.
I thought i created a new scope with scope : {} .. why do i have to set
scope: true for a new scope? That seems like a bug to me... or is it really
wanted for inheritance?
thanks in advance!
Best Regards, Thomas
On Tuesday, April 1, 2014 12:17:49 PM UTC+2, Sander Elias wrote:
>
> Hi Thomas,
>
> You need an new scope, not an isolated scope.
> see: http://plnkr.co/edit/jkuKWZ3ItyM1OAlK3Bhm?p=preview
>
> Before version 1.2 there was a bug that leaked the isolated scope to the
> inside. This bug is fixed!
> And isolated scope, means that the scope is isolated to your directive,
> and can't be seen elsewhere, unless you provide the means for that.
> As there is no more leakage into the containing children, from 1.2 on, the
> isolated scope is finally truly isolated. This is a good thing, however, it
> may take a while for you to see this ;)
>
> 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.