Browse all Angular 2 lessons.

showing All 187 lessons...

Use ngrx/store and Reducers for Angular Application State

P

Map Streams to Values to Affect State

P

Manage State in RxJS with StartWith and Scan

P

Handle Clicks and Intervals Together with Merge

P

Handle Click Events with Subjects

P

Render an Observable Date with the Async and Date Pipes

P

Render an Observable with the Async Pipe

WebStorm - Setting Up Angular 2

P

Overview of Angular 2 and what to learn next...

P

Organizing Angular 2 projects by feature

P

Filter items with a custom search Pipe in Angular 2

P

Build a select dropdown with *ngFor in Angular 2

P

Refactoring mutations to enforce immutable data in Angular 2

P

Using Array ...spread to enforce Pipe immutability.

P

Using Pipes to Filter Data

P

Use Global CSS Inside Angular 2 Components

Write CSS Inside of Angular 2 Components

Pass Values into Angular 2 Components with @Input

Template property syntax

P

Adding a data model

P

Sync Values from Inputs with Angular 2’s ngModel Two-Way Binding

Loop Through Angular 2 Components with ngFor

Provide and Share Values with Angular 2 Dependency Injection

Share Services and Data with Angular 2 Dependency Injection

Control Angular 2 Events with $event and Event Handlers

Manage Angular 2 Elements with Events and Refs

Create a Simple Angular 2 Component

Say "Hello World" to Angular 2

Property Binding with Angular 2 and TypeScript

P

Event Binding with Angular 2 and TypeScript

P

Angular 2 - First Directive (es5)

P

Angular 2 - Custom Events (es5)

P

Angular 2 - Events (es5)

P

Angular 2 - Binding (es5)

P

Angular 2 - Hello World (es5)

P

Angular 2 - Hello World (es6)

P

Angular 2: Template Syntax

P
angular tutorial about Use ngrx/store and Reducers for Angular Application State

Use ngrx/store and Reducers for Angular Application State

5:12 angular PRO

ngrx/store is a library that simplifies common RxJS patterns for managing state and gives you an easy api to use it within your Angular application. This lesson shows how to convert a common startWith and scan stream into an ngrx Store and reducer.

angular tutorial about Map Streams to Values to Affect State

Map Streams to Values to Affect State

1:32 angular PRO

While you have multiple streams flowing into your scan operator, you'll need to map each stream to the specific values you need to update your state the way that you want. This lesson covers using the map operator to determine what the click and interval should do when the state is updated.

angular tutorial about Manage State in RxJS with StartWith and Scan

Manage State in RxJS with StartWith and Scan

2:23 angular PRO

The scan operator in RxJS is the main key to managing values and states in your stream. Scan behaves just as a reduce function would, but scan is able to collect values from streams over time. This lesson covers using startWith to set the initial accumulator value then using scan to update the value of the clock from the clicks and interval.

angular tutorial about Handle Clicks and Intervals Together with Merge

Handle Clicks and Intervals Together with Merge

1:36 angular PRO

Observable.merge allows you take two different source streams and use either one of them to make changes to the same state of your data. This lesson shows how you can use a stream of clicks and an interval stream and use either one to update the clock.

angular tutorial about Handle Click Events with Subjects

Handle Click Events with Subjects

1:33 angular PRO

While Angular usually uses event handlers to manage events and RxJS typically uses Observable.fromEvent, a good practice when using Angular and RxJS combined is to use Subjects and push the value through each event so that you can use it as part of your stream.

angular tutorial about Render an Observable Date with the Async and  Date Pipes

Render an Observable Date with the Async and Date Pipes

1:05 angular PRO

Instead of simply pushing numbers on a timer into the template, now we'll move on to pushing actual Dates. We'll still use the Async pipe, but we'll also add on the Date pipe with some formatting to display the Date just the way we want it.

angular tutorial about Render an Observable with the Async Pipe

Render an Observable with the Async Pipe

2:19 angular

Angular templates use a special Async pipe to be able to render out Observables. This lesson covers the syntax used to create an Observable in Angular and then to render it out in the template.

https://github.com/johnlindquist/rxjs-in-angular2/tree/11aa4c29a4536dad0ef26b78d8f7f503e4372f74/src

webstorm tutorial about WebStorm - Setting Up Angular 2

WebStorm - Setting Up Angular 2

1:52 webstorm PRO

WebStorm can easily help you set up a new Angular 2 project with never even touching a terminal. This lesson shows you all the neat GUI tricks you need to know to get up and running.

angular tutorial about Overview of Angular 2 and what to learn next...

Overview of Angular 2 and what to learn next...

4:33 angular PRO

This lesson recaps how all of the pieces of Angular 2 fit together. It ends with encouraging you to learn the latest JavaScript features as Angular 2 will make heavy use of the latest JavaScript language features and patterns.

angular tutorial about Organizing Angular 2 projects by feature

Organizing Angular 2 projects by feature

2:23 angular PRO

This lessons shows one way to structure your project by feature and how all you need to do is update your import statements.

angular tutorial about Filter items with a custom search Pipe in Angular 2

Filter items with a custom search Pipe in Angular 2

3:15 angular PRO

This lessons implements the Search Pipe with a new SearchBox component so you can search through each todo. It also demonstrates the patterns used for components to interact with each other. Often generic components are used for handling user input then they forward on those events (using Outputs) to components more specific to your application.

angular tutorial about Build a select dropdown with *ngFor in Angular 2

Build a select dropdown with *ngFor in Angular 2

4:21 angular PRO

This lesson walks you through building a component using ngFor on a select dropdown with options to pass in a param into the Pipe.

angular tutorial about Refactoring mutations to enforce immutable data in Angular 2

Refactoring mutations to enforce immutable data in Angular 2

4:16 angular PRO

When a Todo property updates, you still must create a new Array of Todos and assign a new reference. This lesson walks you through refactoring from the current approach to the immutable approach.

javascript tutorial about Using Array ...spread to enforce Pipe immutability.

Using Array ...spread to enforce Pipe immutability.

1:54 javascript PRO

Pipes need a new reference or else they will not update their output. In this lesson you will use the Array ...spread operator to create new Array to update pipe output without mutation.

javascript tutorial about Using Pipes to Filter Data

Using Pipes to Filter Data

2:24 javascript PRO

Pipes allow you to change data inside of templates without having to worry about changing it in the Controller. Creating a custom Pipe is as simple as giving it a name and a transform function that output what you expect.

angular tutorial about Use Global CSS Inside Angular 2 Components

Use Global CSS Inside Angular 2 Components

1:46 angular

Global CSS and stylesheets are also available to Angular 2 Components even though the styles you define inline will remain isolated to the Component itself. You can customize this behavior using ViewEncapsulation if you need to keep global styles out of your Components.

angular tutorial about Write CSS Inside of Angular 2 Components

Write CSS Inside of Angular 2 Components

2:57 angular

Many Components require different styles based on a set of conditions. Angular 2 helps you style your Components by allows you to define CSS and styles inline, then choosing which styles to use based on the current values in your Controller.

angular tutorial about Pass Values into Angular 2 Components with @Input

Pass Values into Angular 2 Components with @Input

1:59 angular

@Input allows you to pass data into your controller and templates through html and defining custom properties. This allows you to easily reuse components and have them display different values for each instance of the renderer.

angular tutorial about Template property syntax

Template property syntax

1:39 angular PRO

This lesson covers using the [input] syntax to change an element property such as “hidden” or “content-editable”. Using properties eliminates the need for Angular 1’s old directives such as ng-show and ng-hide as you’re now able to directly access any property on your element.

angular tutorial about Adding a data model

Adding a data model

2:19 angular PRO

This video covers migrating from simple strings to more complex objects inside of our Service to enable more features later on.

angular tutorial about Sync Values from Inputs with Angular 2’s ngModel Two-Way Binding

Sync Values from Inputs with Angular 2’s ngModel Two-Way Binding

1:43 angular

Two-way binding still exists in Angular 2 and ngModel makes it simple. The syntax is a combination of the [input] and (output) syntax to represent that the data is being pushed out and pulled in.

angular tutorial about Loop Through Angular 2 Components with ngFor

Loop Through Angular 2 Components with ngFor

1:58 angular

This lesson covers Angular 2’s version of looping through data in your templates: *ngFor. It’s conceptually the same as Angular 1’s ng-repeat, but you’ll find the syntax quite different as it aligns with #refs in Angular 2 and JavaScript “for of” loop.

angular tutorial about Provide and Share Values with Angular 2 Dependency Injection

Provide and Share Values with Angular 2 Dependency Injection

1:50 angular

TypeScript is used heavily as we build up our application, but TypeScript isn’t required. If you want to Inject a Service without using TypeScript, you’ll need to understand the @Inject decorator. The @Inject decorator also allows you to provide any value or object that you need to share throughout your application without having to create a service.

angular tutorial about Share Services and Data with Angular 2 Dependency Injection

Share Services and Data with Angular 2 Dependency Injection

1:22 angular

The Angular CLI generates Services using a simple command. After your Service is generated, you can easily provide and share it to the rest of your application using Angular 2's Dependency Injection. This lesson walks through creating a Service with the Angular CLI then providing it to your application module.

angular tutorial about Control Angular 2 Events with $event and Event Handlers

Control Angular 2 Events with $event and Event Handlers

1:01 angular

This lesson talks about the benefits of using the parens-based (click) syntax so that Angular 2 can handle any custom event. Then the video explains how to pass in the actually event object using the familiar $event syntax.

angular tutorial about Manage Angular 2 Elements with Events and Refs

Manage Angular 2 Elements with Events and Refs

2:00 angular

Angular 2 provides powerful template syntax to access events and elements inside of your Component's class. This lesson shows how to access the click events off of a button and the values and element off of an input.

angular tutorial about Create a Simple Angular 2 Component

Create a Simple Angular 2 Component

2:10 angular

The simplest way to create a new component is again to use the Angular CLI. The Angular CLI can quickly generate components for you to use inside your modules and your templates. This lesson walks through using the Angular CLI to generate an Angular 2 Component then using that Component in your application.

angular tutorial about Say "Hello World" to Angular 2

Say "Hello World" to Angular 2

1:10 angular

The quickest way to get started with Angular 2 is to use the Angular CLI. The Angular CLI allows you to create new projects and startup a server in just a couple quick commands. This lesson shows how to install the cli, start the server, and make a simple change.

angular tutorial about Property Binding with Angular 2 and TypeScript

Property Binding with Angular 2 and TypeScript

3:05 angular PRO

We will learn about using Angular 2's new Property Binding syntax with TypeScript. Learn to bind to DOM properties with your Angular 2 application.

angular tutorial about Event Binding with Angular 2 and TypeScript

Event Binding with Angular 2 and TypeScript

2:49 angular PRO

We will learn about using Angular 2's new Event Binding syntax with TypeScript. Learn to bind to DOM events with your Angular 2 application.

angular tutorial about Angular 2 - First Directive (es5)

Angular 2 - First Directive (es5)

2:24 angular PRO

Directives in Angular 2 are basically Components without templates. Directives allow you to interact with other components. In this video, we'll use Directive's hostListeners and Directives hostProperties to set up those relationships.

angular tutorial about Angular 2 - Custom Events (es5)

Angular 2 - Custom Events (es5)

4:54 angular PRO

Angular 2 components can emit custom events through the new EventEmitter. John walks through the process of setting up a custom event and how to interact between the parent and child components.

angular tutorial about Angular 2 - Events (es5)

Angular 2 - Events (es5)

3:38 angular PRO

Angular 2 introduces a new event syntax for connecting events on the DOM to your controllers. In this video, John walks you through the basics of the new syntax and how to handle events inside your own components.

angular tutorial about Angular 2 - Binding (es5)

Angular 2 - Binding (es5)

3:01 angular PRO

Binding in Angular 2 works much the same way as binding in Angular 1, but there are some very important differences. John covers the differences and improvements you can look forward to as you start building your own Angular 2 components.

angular tutorial about Angular 2 - Hello World (es5)

Angular 2 - Hello World (es5)

3:11 angular PRO

Angular 2 fully supports using es5 so you don't have to use TypeScript or any other transpiler to get started. John walks you through writing your first component in es5, bootstrapping it, then adding another Angular 2 component to the template.

angular tutorial about Angular 2 - Hello World (es6)

Angular 2 - Hello World (es6)

2:57 angular PRO

Getting started with Angular 2 involves a new focus on building out components. John walks through the process of bootstrapping your first component as well as how to include one component inside another.

angular tutorial about Angular 2: Template Syntax

Angular 2: Template Syntax

11:06 angular PRO

Curious about the new Angular 2 template syntax features? In this preview, John will take you on a tour.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?