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.
$http.get(baseUrl+'signup').success(function(res){$(elem).replaceWith(res);})
res is the html data and again it has ng click in the html
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.