We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
A component should explicitly define its dependencies using one of the injection annotation methods:
Inline array injection annotation (preferred):
myModule.controller('MyController', ['$location', function($location) { ... }]);
$inject property:
var MyController = function($location) { ... }; MyController.$inject = ['$location']; myModule.controller('MyController', MyController);
See: Explicit Dependency Inject
There was an error while loading. Please reload this page.