Injector Trees

Kapunahele Wong
July 02, 2019
37

Injector Trees

Slides for my talk at the Techmaker Meetup in Reading, UK.

Kapunahele Wong

July 02, 2019

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

68 slides
  1. According to the docs: @kapunahele In Angular, a service is

    an instance of a class that can be made available to any part of your application using Angular's dependency injection system. From: https://angular.io/start/data
  2. @kapunahele Angular's dependency injection system Stuff in Trees a service

    is an instance of a class that can be made available => => =>
  3. @kapunahele The visibility decorators can make different things visible depending

    on whether you’ve used @Component.providers or @Component .viewProviders. (Think <#VIEW>)
  4. @kapunahele 1. Two injector trees 2. ElementInjector first, ModuleInjector second

    3. Use visibility decorators to customize where the injector starts and stops looking Recap: