mari muthu

mari muthu

  • NA
  • 198
  • 107.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)