1

Is there a way to get the name of an two-way-binding?

<div ng-controller="myController">
    <my-directive>
        {{abc}}
    </my-directive>
    <my-directive>
        {{def}}
    </my-directive>
</div>

Within the first my-directive element I would like to get the name 'abc'.

Christian A
  • 377
  • 2
  • 11

0 Answers0