In the grand finale of this series, we recap the accomplishments of the first six parts and give you the application to play with.
Category: Angular
Artful DI in Angular – Part 6: How to Modify the DOM Based on an Observable
Here we create an Angular attribute directive that updates its host element’s CSS classes based on an RxJS Observable.
Artful DI in Angular – Part 5: How to Inject a Dependency at the Right Point
Angular services may be singletons, but you can still get more than one, and just where you want them.
Artful DI in Angular – Part 4: How to Make a Directive that Listens for a Browser Event
Learn how to create an Angular attribute directive that executes your custom code when a browser event occurs.
Artful DI in Angular – Part 3: How to Encapsulate a Pattern in an Abstract Service
Make your application behave uniformly and without error by encapsulating your design decisions in an abstract class.
Artful DI in Angular – Part 2: How to create a mock HTTP service
In this post, we’ll use RxJS Observables to mimic Angular’s HttpClient, but without the HTTP part!