Is it possible to inject $q in the config section of my module? Below is my sample config section.
.config([\'$q\', function ($q) { var func = function (
It is possible for me (when routing configure):
resolve: { simpleStringParam: ["$q", "$timeout", function($q, $timeout){ var deferred = $q.defer(); $timeout(function(){ deferred.resolve("Allo!"); },8000); return deferred.promise; }] }