Description
Course info
Rating
(297)
Level
Intermediate
Updated
Apr 28, 2016
Duration
1h 51m
Description

In Building Components with Angular 1.5, you'll learn how to program with components in AngularJS. First you will learn how to build simple components and also how to implement a web application using the new component router. You'll also look at several strategies for composition with components, including how to work with bindings and templates. When you're finished with this course, you'll have the skills and knowledge to build applications when developing features with AngularJS.

About the author
About the author

Scott has over 15 years of experience in commercial software development and is a frequent speaker at national conferences, and local user groups. Scott is a Microsoft MVP and has authored books on several Microsoft technologies, including ASP.NET, C#, and Windows Workflow.

More from the author
More courses by Scott Allen
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
(Music playing) Hi, this is Scott Allen, and welcome to my course on programming with components in Angular 1. 5. Angular 1 has been a framework that is constantly evolving by applying best practices with an eye to the future. And the component-based programming model we will look at in depth is an example of this evolution. In this course, we'll build an Angular application using only components, so you can see how components work. We'll start by using components to implement features that we would traditionally implement using just controllers and templates, but by the end of the course, we will also use components instead of directives. We will see actually how components offer the best of both worlds when it comes to the features of controllers and directives. We will also be using the new component-based router in this course. The new router is much more powerful than the original router, and along with the router we will also look at different compositional patterns you can use with components to build application features. By the end of the course, I hope you'll see that components are the best way to program with Angular. I do expect that you are already familiar with Angular 1, we won't be covering the basic concepts about controllers, templates, services, and directives. If you haven't worked with Angular before, you might want to try my Angular Get Started course first.

Programming Components
Hi this is Scott, and this course is about the new component programming model introduced in Angular 1. 5. This course is designed for those of you who already have some Angular programming experience and have been building applications in Angular by creating controllers and directives. I'll show you in this course why a component-based approach is superior to using controllers or directives, and by the time you finish the course, I hope you'll never write another Angular controller. Let's get started by talking about how to create a component using a new API that's available in Angular 1.

Routing with Components
Hi, this is Scott, and in this module we're going to look at routing with components, and we'll do this with two different routers. Routing is the ability to change the UI in response to a change in the URL. So, routing is the feature that makes a single page application live in a single page. And I first want to give you a demonstration of routing with the original Angular router, but we will spend the majority of our time with the new component router available for Angular. This component-based router is much more powerful than the original Angular router, and of course, it works well with components. Let's get started by getting set up for routing with a shell page and give the original router a quick try.

Composition with Components
Hi, this is Scott, and in this module I want to demonstrate the power of composition with components. Composition is a powerful technique in software development. It allows us to build large, complex things by putting together small, simple things. I'll show you three different techniques that you can use for composition in different scenarios, and along the way we'll learn more about routing, bindings, and component-to-component communication.