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 setInteraval function to call your function every 120000 milliseconds.
setInterval(function(){ $scope.save(); }, 120000)