platform-webworker-dynamic

Module Entry point for all public APIs of the platform-browser-dynamic package. platformWorkerAppDynamic defined in @angular/platform-webworker-dynamic/index.ts

AUTO_STYLE

Experimental Const Variable Export export AUTO_STYLE exported from @angular/core/index defined in @angular/core/src/animation/metadata.ts

UpgradeAdapter

Stable Class Class Overview class UpgradeAdapter { constructor(ng2AppModule: Type<any>) downgradeNg2Component(type: Type<any>) : Function upgradeNg1Component(name: string) : Type<any> bootstrap(element: Element, modules?: any[], config?:IAngularBootstrapConfig) : UpgradeAdapterRef upgradeNg1Provider(name: string, options?: {asToken: any}) downgradeNg2Provider(token: any) : Function } Class Description Use UpgradeAdapter to allow AngularJS v1 and Angular

Structural Directives

Angular has a powerful template engine that lets us easily manipulate the DOM structure of our elements. One of the defining features of a single page application is its manipulation of the DOM tree. Instead of serving a whole new page every time a user navigates, whole sections of the DOM appear and disappear according to the application state. In this chapter we'll to look at how Angular manipulates the DOM and how we can do it ourselves in our own directives. In this chapter we will learn wh

Npm Packages

Recommended npm packages, and how to specify package dependencies Angular applications and Angular itself depend upon features and functionality provided by a variety of third-party packages. These packages are maintained and installed with the Node Package Manager (npm). Node.js and npm are essential to Angular 2 development. Get them now if they're not already installed on your machine. Verify that you are running node v4.x.x or higher and npm 3.x.x or higher by running the commands node -

5. Forms

A form creates a cohesive, effective, and compelling data entry experience. An Angular form coordinates a set of data-bound user controls, tracks changes, validates input, and presents errors. We’ve all used a form to log in, submit a help request, place an order, book a flight, schedule a meeting and perform countless other data entry tasks. Forms are the mainstay of business applications. Any seasoned web developer can slap together an HTML form with all the right tags. It's more challenging

4. Multiple Components

We refactor the master/detail view into separate components Our app is growing. Use cases are flowing in for reusing components, passing data to components, and creating more reusable assets. Let's separate the heroes list from the hero details and make the details component reusable. Run the live example for this part. Where We Left Off Before we continue with our Tour of Heroes, let’s verify we have the following structure. If not, we’ll need to go back and follow the previous chapters. angu

TypeScript to JavaScript

Convert Angular 2 TypeScript examples into ES5 JavaScript Everything that we can do in Angular 2 in TypeScript, we can also do in JavaScript. Translating from one language to the other is mostly a matter of changing the way we organize our code and the way we access Angular 2 APIs. Since TypeScript is a popular language option in Angular 2, many of the code examples you see on the Internet as well as on this site are written in TypeScript. This cookbook contains recipes for translating these ki

RC4 to RC5 Migration

Migrate your RC4 app to RC5 in minutes. Angular Modules (NgModules) have landed in Angular RC5! Angular Modules, also known as NgModules, are the powerful new way to organize and bootstrap your Angular application. Read more in the "RC5 and NgModules" announcement. Learn the details of NgModule in the Angular Module chapter. The new @NgModule decorator gives you module-level components, directives, and pipes without the need to specify them repeatedly in every component of your application.

Angular 1 to 2 Quick Reference

Learn how Angular 1 concepts and techniques map to Angular 2 There are many conceptual and syntactical differences between Angular 1 and Angular 2. This page provides a quick guide to some common Angular 1 syntax and its equivalent in Angular 2. See the Angular 2 syntax in this . Contents This page covers: Template basics - binding and local variables. Template directives - built-in directives ngIf and ngClass. Filters/pipes - built-in filters, known as pipes in Angular 2. Modules/contro