3
I have a button:
<a ng-click="like">Gostar</a>
When someone clicks on it, perform the action and it is replaced by jQuery by the other button:
<a ng-click="unlike">Desgostar</a>
But when you click on the replaced buttons, they do not perform any action. The function of the ng-click
does not work, only when they are overwritten, when reload the page works normal. Someone knows how to fix this?