SHARE
TWEET

Untitled

a guest May 19th, 2017 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const providerDef =
  2.     (allowPrivateServices ? elDef.element !.allProviders :
  3.                             elDef.element !.publicProviders) ![tokenKey];
  4. if (providerDef) {
  5.   const providerData = asProviderData(view, providerDef.index);
  6.   if (providerData.instance === NOT_CREATED) {
  7.     providerData.instance = _createProviderInstance(view, providerDef);
  8.   }
  9.   return providerData.instance;
  10. }
RAW Paste Data
Top