I have a button:
<a ng-click="like">Gostar</a>
When someone clicks on it, it performs the action and it is replaced by jQuery with the other button:
<a ng-click="unlike">Desgostar</a>
But when you click the replaced buttons, they do not take any action. The ng-click
function does not work, only when they are overwritten, when the reloads the normal work page. Does anyone know how to solve this?