I have this working implementation af a angularJS app which fetches some links from an URL and paint them.
However the links on the URL are being updated constantly, I woul
Try this it worked fine for me.
$scope.intervalFunction = function(){
if ($location.$$absUrl === "current url") {
$timeout(function() {
$scope.showAllEmployeeTracking();
$scope.intervalFunction();
console.log("loading Interval")
}, 10000)
}
};
// Kick off the interval
$scope.intervalFunction();