Building a demo AngularJS directive named Zippy using ng-model, ng-click and transclusion (no controller)
Are following scopes the same?
- the scope defined in the object returned by the directive definition,
- and the scope used in the link function???
If yes, would it mean that I could move the field isContentVisible and the function toggleContent into the upper scope definition??
Thank you in advance!
Could you please update the source for angular 1.2? I can't seem to get this to work :(.
It works as expected with 1.2.14. What issues are you having?