mari muthu

mari muthu

  • 1.8k
  • 198
  • 86.4k

how to pass the Scope variable in Angular factory method

Oct 12 2016 7:51 AM
angular.forEach(values, function($http, $scope)
{     
      this is my loop
})
module.factory('userService',
 function(){ 	
 	here i want to pass that looping Scope variable
 });

Answers (1)