jQuery(document).ready(function($){ //setTimeout(function(){ $('[ng-click="selectPage(page + 1, $event)"]').trigger('click'); console.log('NEXT'); //}, 60000); });