Angular 2 Solutions – Intermediate Concepts

Angular 2 Solutions – Intermediate Concepts

English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 3h 16m | 778 MB

Xx recipes to help you become pro in building powerful web apps with Angular 2

Angular 2 introduces an entirely new paradigm for applications, wholly embracing all the newest concepts that are built into the next generation of browsers and cutting away all the fat and bloat from Angular 1. This course plunges directly into the heart of all the most important Angular 2 concepts. Alongside the Angular 2 content, the course covers the new ES6 syntax, Typescript conventions, Web Components, and RxJS observables, among many other brand-new concepts. The second volume of this course will cover the ES6 implementation of Promises and will show you how to integrate them with Angular 2 applications. Once you’ve built a good foundation for the new concepts of Angular 2 from the previous volume, you’ll work with implementing RxJS observables and you’ll understand how to use them effectively. Finally, you’ll learn how to inject dependencies and wrap HTTP APIs with a service. These topics will help you gradually level up your knowledge and move on to the next volume of this course.

What You Will Learn

  • Properly implement applications utilizing advanced topics such as dependency injection
  • Learn how to maximize the performance of Angular 2 applications
  • Understand the best ways to take an Angular 2 application from TypeScript in a code editor to a fully functioning application served on your site
  • Get to know the best practices when organizing and testing a large Angular 2 application
Table of Contents

Mastering Promises
Canceling Asynchronous Actions with Promise.race()
Chaining Promises and Promise Handlers
Converting an HTTP service Observable into a ZoneAwarePromise
Converting a Promise into an Observable
Creating Promise Wrappers with Promise.resolve() and Promise.reject()
Implementing Promise Barriers with Promise.all()
The Course Overview
Understanding and Implementing Basic Promises

ReactiveX Observables
Basic Utilization of Observables with HTTP
Building a Fully Featured AutoComplete with Observables
Building a Generalized Publish-Subscribe Service to Replace $broadcast, $emit, and $on
Creating an Observable Authentication Service Using BehaviorSubjects
Implementing a Publish-Subscribe Model Using Subjects
Using QueryLists and Observables to Follow the Changes in ViewChildren

The Component Router
Adding Route Authentication Controls with Route Guards
Building Stateful Router Link Behavior with Router Link Active
Implementing Nested Views with Route Parameters and Child Routes
Navigating with Router Links
Navigating with the Router Service
Selecting a Location Strategy for Path Construction
Setting Up an Application to Support Simple Routes
Working with Matrix URL Parameters and Routing Arrays

Services, Dependency Injection, and NgModule
Building a Provider-Configured Service with useFactory
Controlling Service Instance Creation and Injection with NgModule
Injecting a Simple Service into a Component
Injecting a Value as a Service with useValue and OpaqueTokens
Service Injection Aliasing with useClass and useExisting