GitXplorerGitXplorer
j

angular-view-hierarchy

public
0 stars
0 forks
22 issues

Commits

List of commits on branch master.
Unverified
6f0d69e49889bda0094d68e9cb445f6cf4e2fc0f

Start -> Finish Example

committed 5 years ago
Unverified
42546e938ff61eff76c5a447775acd1b8e5feab7

Turn off view container insertions from child.

committed 5 years ago
Unverified
105a96e2bc84525b6c5d5e913079ef3a92285739

- Extra word

committed 5 years ago
Unverified
c92838ce1218788cda6d656e70f602d770317e03

Adds overview and moves inspectors.

committed 5 years ago
Unverified
164fa718bfedff7987ae20f164573755b9151d64

Copies start to finish.

committed 5 years ago
Unverified
48251c07250497b6120e3f36fde05746f24ca674

Fixes startup information in README.

committed 5 years ago

README

The README file for this repository.

angular-view-hierarchy

Examples of DI in action in an Angular view hierarchy

Get Started

$ yarn
$ yarn start

Overview

  • Loosely covers concepts described in the Angular guide - Hierarchical Dependency Injection
  • Uncomment providers: [] and viewProviders: [] in the app.module.ts, app.component.ts and child.component.ts to see the effect of different dependency providing strategies.
  • Copy inspectors from README.inspectors.html to their matching locations in the component templates to see what dependencies they are provided.
  • Uncomment viewContainer.insert lines in child.component.ts to see ViewContainerRef view manipulation examples.