Dynamic content added with AngularJS click event not working on the added content
I just started on AngularJS this week for a new project, and I have to come up to speed ASAP. One of my requirements, is to add html content dynamically and that content might have a click event on it. So the code Angular code I have below displays a button, and when clicked, it dynamically adds another button. Clicking on the dynamically added buttons, should add another button, but I cannot get the ng-click to work on the dynamically added buttons <button type="button" id="btn1" ng-click="addButton()">Click Me</button> The working code sample is here http://plnkr.co/edit/pTq2THCmXqw4MO3uLyi6