Book Image

Angular 2 Solutions - Intermediate Concepts [Video]

By : Matt Frisbie
Book Image

Angular 2 Solutions - Intermediate Concepts [Video]

By: Matt Frisbie

Overview of this book

<p>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.</p> <h1>Style and Approach</h1> <p>This course follows a recipe-based approach—each recipe presents a unique problem to whose solution is presented in a clear, concise, and step-by-step manner. With practical hands-on guidance in each and every recipe, you'll be able to get to grips with the underlying concepts.</p>
Table of Contents (4 chapters)
Chapter 3
The Component Router
Content Locked
Section 8
Adding Route Authentication Controls with Route Guards
The nature of single-page applications wholly controlling the process of routing gives them the ability to control each stage of the process. - Define two initial views with routes - Implement an auth service that will maintain the state - Add links and interpolate the username