1
.controller('MyCtrl',function($scope){

    $scope.test = function(callback){
        callback("return Message");
    }  

 });

 .service('MyService',function(){
          // use MyCtrl
  });

How can i call MyCtrl inside my service and use the test function?

KybenJal
  • 41
  • 1
  • 5

0 Answers0