angular/modules/benchmarks/src
Victor Berchet 13686bb518 fix: element injector vs module injector (#15044)
fixes #12869
fixes #12889
fixes #13885
fixes #13870

Before this change there was a single injector tree.
Now we have 2 injector trees, one for the modules and one for the components.
This fixes lazy loading modules.

See the design docs for details:
https://docs.google.com/document/d/1OEUIwc-s69l1o97K0wBd_-Lth5BBxir1KuCRWklTlI4

BREAKING CHANGES

`ComponentFactory.create()` takes an extra optional `NgModuleRef` parameter.
No change should be required in user code as the correct module will be used
when none is provided

DEPRECATIONS

The following methods were used internally and are no more required:
- `RouterOutlet.locationFactoryResolver`
- `RouterOutlet.locationInjector`
2017-03-14 16:26:17 -07:00
..
largeform refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
largetable feat(compiler): introduce <ng-template>, deprecate <template> and template attribute 2017-02-23 20:03:16 -08:00
old refactor: remove lang.ts (#14837) 2017-03-06 15:22:29 -08:00
tree fix: element injector vs module injector (#15044) 2017-03-14 16:26:17 -07:00
bootstrap_ng2.ts refactor(animations): support browser animation rendering (#14578) 2017-02-22 15:14:49 -08:00
bootstrap_plain.ts refactor(benchmarks): refactor to support AOT bootstrap in G3 (#12075) 2016-10-04 16:27:45 -07:00
util.ts fix(benchmarks): don’t force gc on the profile buttons (#14345) 2017-02-08 14:42:01 -06:00