Little angular book
▸
TypeScript
▹
Basic types
▹
Classes and interfaces
▹
Functions
▹
Enums
▹
Advanced types
▹
Decorators
▹
Generics
▸
Components
▹
Lifecycle events
▹
Input / Output
▹
Templates
▪
Raw HTML
▪
Data flow
▪
Class & style helpers
▪
Structural directives
▹
Styles
▸
Routing
▹
Route parameters
▹
Query parameters
▸
Dependency injection
▹
Circumventing the DI system
▹
Sharing services
▹
Providers
▪
Class provider
▪
Factory provider
▪
Value provider
▹
DI tricks
▸
Services
▸
Testing
▹
Jasmine
▹
Snippets
▹
Templates
▸
Observables
▹
Examples
▸
Extras
▹
Reactive forms
Providers
One can provide
classes, instanciated "as is" with a
class
provider
classes, but instanciated with their own parameters with a
factory
provider
it is possible to inject values with the
value
provider