Currently I have an Angular.js page that allows searching and displays results. User clicks on a search result, then clicks back button. I want the search results to be disp
Another alternative:
var myInit = function () { //... }; angular.element(document).ready(myInit);
(via https://stackoverflow.com/a/30258904/148412)