Book Image

Angular 2 Essentials [Video]

By : John Munsch
Book Image

Angular 2 Essentials [Video]

By: John Munsch

Overview of this book

<p>Angular 2 is a dream framework for any modern day web developer. It lets you build powerful and impressive web applications, with great development efficiency, speed, and performance. This course helps you gain a strong foundation in Angular 2 and the key concepts involved in creating modern web applications.</p> <p>Starting off by building your first Angular 2 component, you’ll go all the way through topics such as deployment and automated builds by the end of the course.</p> <p>After building your first components, you’ll return to the build-tools to understand them better. Here you’ll see how Gulp is used throughout to automate the building of your software to make your development life easier. Then you’ll take a deep dive into the constituents of an Angular 2 component and use them to reconstruct an existing example site for Google's Material Design Lite library. Once you have your application ready, you will learn how to test and debug it. Finally, we wrap up the course by deploying your app and you’ll learn how to incorporate the continuous integration principle for automation.</p> <h1>Style and Approach</h1> <p>Showing you mounds of configuration without any understanding of how it fits together is a recipe for confusion and an inability to fix a problem when you have one. Hence more than anything, this video course tries to make sure you understand why and how things are built the way they are with Angular 2, not just the mechanics, in a step-by-step manner.</p>
Table of Contents (7 chapters)
Chapter 4
Upgrading Your Components
Content Locked
Section 4
Routing in Angular 2
If you want to have several different views within your app and yet keep it on a single page, it's good if you can have your app change views based on the current browser location. Angular supports this via the router and understanding this is crucial to be able to build bigger apps. - The first step is to look for a root component into which we wish to inject other components - We introduce the idea of @RouteConfig to create a mapping of the browser URL to view within our app - Create links to switch between views and show how to