3

I am currently using Angular 1.4, in the process to shift to angular 1.5, I am rewriting all the controllers into component style and removing $scope injectables inside the controller. In one of the situation, I used $compiler service to compile dynamically generated html inside a controller in order to bind ng-click attribute to the controller scope . I got this help from the following question.

ng-click not working in dynamically created content

now how can I implement the same scenario using Angular 1.5? (I have to get rid of $scope)

Community
  • 1
  • 1
user2164254
  • 57
  • 1
  • 7

0 Answers0