Reputation: 17849
Why do I have to use
e in $parent.parentScopeFunc()
instead of
e in parentScopeFunc()
when
{{ parentScopeValue }}
works fine for displaying parent scope members in a template?
Upvotes: 1
Views: 52
Reputation: 17957
You're either overriding that function in whichever directive it's failing in or the function is not initialized in the parent scope until after the child scope is created.
Upvotes: 3