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
var someVr= element[0].querySelector('#showSelector'); myfunction(){ alert("hi"); } angular.element(someVr).ready(function () { myfunction(); });
This will do the job.