UIInjector | UI-Router
Options
All
  • Public
  • Public/Protected
  • All
Menu

This enhances the common.UIInjector interface by adding the $injector service as the native injector.

Hierarchy

  • UIInjector

Index

Properties

Properties

native: IInjectorService

The native Angular 1 $injector service

The native Angular 1 $injector service

When you have access to a UIInjector, this property will contain the native $injector Angular 1 service.

example

: ```js

$transition.onStart({}, function(transition) { var uiInjector = transition.injector(); var $injector = uiInjector.native; var val = $injector.invoke(someFunction); });

Generated using TypeDoc