angular.injector

Improve this Doc View Source angular.injector

  1. function in module ng

Creates an injector object that can be used for retrieving services as well as for dependency injection (see dependency injection).

Usage

angular.injector(modules);