If you're new to Angular or have never taken a deep look at Interpolation in templates, you might wonder why you should never use a method in your templates to retrieve a value. In this article, the author shows how Angular change detection, while normally our friend, can cause problems if you have methods in your templates.
Here's another article to help you brush up on the transformation operators scan , switchMap , switchMapTo and window. You'll use these operators many times in your Angular apps.
Like switchMap,switchMapTo projects each source value an Observable. But unlike switchMap, it projects to the same Observable. The Observable then is flattened multiple times with switchMap in the output Observable.
ng-conf is offering a unique workshop this year designed specifically for technical software engineering managers and executives! If you have team members attending ng-conf and you are a manager, you should consider attending this workshop specifically targeted for managers. This one-day workshop will help leaders translate new techniques, languages, tools, and services into economic value for their organization in order to stay ahead of the competition!
Have you wondered how services work with lazy loading and the new provider scopes? This article will cover the new 'any' scope and the author promises to talk about the 'platform' scope at a later date.
So we now know why 'root' was introduced, the idea was to make services tree-shakable. To understand providedIn: 'any' we have to talk a little bit about implementation of forRoot, forChild and lazy loading.
Have you run into a situation where you need to manage multiple date formats in your application? Wrapping the built-in DatePipe into a custom one which delegates operation to the base instance with a pre-defined format is an elegant and scalable solution to the date formatting problem. With the aid of the dependency injection, you can easily customize some of your application areas to present data in a non-standard way.