auto.$injector

Improve this Doc View Source $injector

  1. service in module auto

$injector is used to retrieve object instances as defined by provider, instantiate types, invoke methods, and load modules.

The following always holds true:

var $injector = angular.injector();
expect