You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
@shock01 this is scoping issue. As explained here: http://docs.angularjs.org/guide/directive transclusion creates a child scope. In your case click handler was updating a value in a child scope while the parent was untouched. So no binding was "detached".
When creating a parent and a child directive which are both transclude binding will occur just fine.
However after calling scope.$apply within the child directive the bindings on the child directive get detached from the Controller
I am fairly new to angular and don't know if this is a duplicate/already reported issue
Thnx
Example:
http://jsfiddle.net/29cS6/2/
The text was updated successfully, but these errors were encountered: