mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
4a961f4ecb
Add two factory static functions to Injector: resolveAndCreate and fromResolvedBindings. We want to avoid resolution and flattening every time we create a new injector. This commit allows the user to cache resolved bindings and reuse them.