chintan-patel / angular2-go

Angular 2 Go !

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Angular 2 Go !

Join the chat at https://gitter.im/johnpapa/angular2-go

Simple starter example that gets you going with Angular 2 in minutes.

##Getting Started

  1. Clone this repo

  2. Run npm install

  3. Run the TypeScript compiler and watch for changes npm run tsc

  4. Open 2nd terminal and launch the app in the browser npm start

Running Node and NPM

##Notes

This sample intentionally uses precise versions of Angular 2 and SystemJS so new versions do not break it. I will update these as Angular 2 moves out of Alpha.

This uses the Path Routing Strategy (HTML5 Mode in Angular 1). This is ideal, however since this demo strives for a simple server using live-server, if you refresh the browser when on a deep link (a named route), you will get a 404. Simply go back to the root /.

To avoid errors in npm install use npm version >2.14.x

About

Angular 2 Go !


Languages

Language:TypeScript 84.5%Language:HTML 11.4%Language:CSS 4.1%