I am learning AngularJS. I have some article tag and on clicking on a button each article page is showed without any page refresh. This is one page website. Wha
AngularJS
you can also use the below code.
function activateController(){ console.log('HELLO WORLD'); } $scope.$on('$viewContentLoaded', function ($evt, data) { activateController(); });