On this page
inject
function
inject<T>(token: Type<T> | InjectionToken<T>, flags: InjectFlags.Default = InjectFlags.Default): T | null
   Parameters
| token | Type:   | 
      
| flags | Type:  Optional. Default is   | 
      
Returns
T | null
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v6.angular.io/api/core/inject