how to call a save function every two mins in anular js. please Help me.
$scope.save = function () { $http({ url : \'/api/products\',
You can use $interval from angularjs
setInterval(function(){ $scope.save(); }, 120000)