Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLeela Narasimha Reddy
29,035 Pointsng-click not working for dynamically inserted html got from the http.get call in angular js
Hi I am using angular js for my php project. I am using ngclick for anchor link which is like this
<a href="http://localhost/mediaads/signup" ng-click="showregister($event)">Don't have an account? Create One</a>
when clicks on the link i will call method showregister in controller and replace the html by calling http get method.
Dynamically got html data has again ng clicks in them. Those ng clicks are not working
Can anyone tell me how to make ngclick work for dynamic elements.