[FE] Angular 1 legacy: How to obtain the binding 'controller' from the element ?
We can use angular.element($0).controller('someDirective') to accomplish this, refer to the API: https://docs.angularjs.org/api/ng/function/angular.element.
The angular.element($0) will expose the wrapped object by angular on the element, you can also get the "scope" or "isolateScope" of the element.
Upvote this: https://steemit.com/free/@bible.com/4qcr2i
Congratulations @huming0618! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!