Awesome
Angular 2 Todo App
Angular 2 is not packaged or ready for production... but this is a todo app with it.
Installation
$ npm install -g serve
$ serve
localhost:8080
Installation with your own Angular build
- Clone angular2/angular2 somewhere on your disk.
- Follow the instructions for Angular 2 and
gulp build
there. ln -s ~/angular/dist/js/dev deps/ng
in the root of this repo.$ npm install -g serve
$ serve
- Update systemjs path from 'deps/angular2' to 'deps/ng'
- Write your AtScript code in app/ folder
localhost:8080
Static deps
(already included in the deps folder)
- The latest version of traceur.js (modified to support atscript out of the box).
- The latest version of system.js
- The latest version of es6-module-loader.js
- The latest version of zone.js (and long-stacktrace-zone.js)
Hacks
Due to bug in system.js and traceur integration, options are not picked up,
(TODO:rado file a bug and put a link here). To support atscript, we manually
edited the atscript flags in traceur.js
(see index.html
for the names of the flags.)
TODO
- Fix filters
- Create Flux version
- Refactor Firebase todoStorage into TodoStorage service
- Refactor style management
- Add server for FastBoot