I have an angular service
app.factory('MyService', function($http,$q)){
    return{
        super : function(){
             return "Angular is awesome";
        }
    };
});
and a complex javascript object defined outside Angular's scope (controller or service):
var MyObject = {
    anyFunction : function(){
        alert(MyService.super());
    }
};
Now, doing
MyObject.anyFunction();
of course fails. Any idea how I can get MyService injected into my external javascript object?
 
     
    