Home

Awesome

Angular 2: The new horizon.

This is the sample for the talk Angular 2: The new horizon done at jQuerySF by @mgonto

Running it

Just install node and run npm install and then npm start :boom:.

Concepts

In this repository you can learn the following concepts

Services

Learn how to create and how to inject services.

Check here for the AgeCalculator service creation. Check here on how to make that service injectable and check how it's injected here

Create your own Component

Check out person-shower to learn how to create your own component. That component is used here

Handling events

Check here how to handle events and then see here how it's implemented.

Use DOM elements

Learn how to reference existing DOM elements here

DOM Properties

Learn how to set DOM properties here

Core directives

Learn how to use Core Directives here

Binding changes

Learn how to handle changes on the properties received here