Hi,
I'd argue that prototypical scope inheritance and destruction of scopes can
be seen as two different things, meaning that the text you refer to doesn't
really help.
Also, I think a documentation update would be useful for people that will
remain on Angular 1.x for a while (since I suppose migration will be
non-trivial due to the big architectural changes).
I guess I should be a good citizen and submit a documentation PR. :-)
Per
On Monday, October 27, 2014 1:55:13 PM UTC+1, Sander Elias wrote:
>
> Hi Per,
>
> From the docs:
>
> Scope:
> If set to {} (object hash), then a new "isolate" scope is created. The
> 'isolate' scope differs from normal scope in that it does not
> prototypically inherit from the parent scope.
>
> That tells you that an isolate scope is an object that does not inherit
> from its parent, and in turn not from $rootScope. This means that the
> functions you want to refer to are also not available. I agree that this
> might be better documented.
>
> However, from Angular 2.x, there will be no $scope anymore, so this is an
> temporary issue ;)
>
> 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.