javascript - AngularJS: Get the names of all binding within a certain element -
is there way name of two-way-binding?
<div ng-controller="mycontroller"> <my-directive> {{abc}} </my-directive> <my-directive> {{def}} </my-directive> </div>
within first my-directive element name 'abc'.
you should take on article, link it's going understanding how "scope" works in angular directives.
Comments
Post a Comment