angular.forEach(values, function($http, $scope)
{
this is my loop
})
module.factory('userService', function(){ here i want to pass that looping Scope variable });angular.forEach(values, function($http, $scope)
{
this is my loop
})
module.factory('userService', function(){ here i want to pass that looping Scope variable });Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Midhun TpPosted Oct 12, 2016, 8:02 AM