What happens if you try "$parent.currentUserExists"?

I ran into this the other day when trying to upgrade from an old 1.2.x to
the latest 1.3.x, and it seems that there's been a change in the behavior
of the ng-if directive such that it creates its own scope that does not
inherit from its parent scope.

It turned out that in this case we no longer needed the ng-if at all, so I
didn't delve deeper into whether this might be a bug or undocumented
regression in Angular, but what you're seeing sounds suspiciously like the
same thing.

--Kevin

On Fri, Dec 12, 2014 at 3:33 PM, Nic Whittle <[email protected]> wrote:
>
>
> http://stackoverflow.com/questions/27450941/showing-authorised-content-with-angularjs?noredirect=1#comment43340622_27450941
>
> I can't for the life of me solve this! Any help would be appreciated
>
> Thanks
>
> --
> 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.
>

-- 
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