angular/modules/angular2
Tim Blasi 09948f4403 feat(dart/transform): Add a di transformer
Add a transformer for `di` which generates `.ng_deps.dart` files for all
`.dart` files it is run on. These `.ng_deps.dart` files register
metadata for any `@Injectable` classes.

Fix unit tests for changes introduced by the di transformer.

When using `pub (build|serve) --mode=ngstatic`, we will also generate
getters and setters, parse templates, and remove import of `dart:mirrors`
in the Angular transform. Because this is still relatively immature, we
use the mode to keep it opt-in for now.

Closes #700
2015-04-02 11:06:33 -07:00
..
docs docs(directives): fix HTML in an example 2015-03-28 15:37:11 +01:00
src feat(dart/transform): Add a di transformer 2015-04-02 11:06:33 -07:00
test feat(dart/transform): Add a di transformer 2015-04-02 11:06:33 -07:00
angular2.js docs: annotations 2015-03-19 16:56:52 +00:00
annotations.js docs: annotations 2015-03-19 16:56:52 +00:00
change_detection.js feat(render): add initial implementation of render layer 2015-04-01 16:50:22 -07:00
core.js feat(change_detection): pass binding propagation config to pipe registry 2015-03-26 16:57:04 -07:00
di.js feat(di): Add the @Injectable annotation 2015-03-17 22:12:47 -07:00
directives.js refactor(forEach): change to for-of with iterable 2015-03-21 14:19:21 -07:00
forms.js refactor(forms): make form group responsible for supporting optional controls 2015-03-10 18:12:30 -07:00
package.json feat(facade): added support for observables 2015-03-24 13:45:39 -07:00
pubspec.yaml feat(dart/transform): Add a di transformer 2015-04-02 11:06:33 -07:00
README.dart.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
README.js.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
test_lib.js chore(packaging): update import for the new file structure 2015-02-05 15:47:12 -08:00
transformer.dart feat(dart/transformer:: Initial commit of ctor stubs & annotation register 2015-02-17 16:34:19 -08:00
tsd.json chore(ts): introduce some TypeScript type declarations. 2015-04-01 12:01:45 -07:00

Angular2

The sources for this package are in the main Angular2 repo. Please file issues and pull requests against that repo. This is the repository for the upcoming 2.0 version. If you're looking for the current official version of Angular you should go to angular/angular.js

This package contains different sources for different users:

  1. The files located in the root folder can be consumed using CommonJS
  2. The files under /es6 are es6 compatible files that can be transpiled to es5 using any transpiler. This contains:
    • dev/: a development version that includes runtime type assertions
    • prod/: a production version that does not include runtime type assertions
  3. The files under /atscript are the AtScript source files

As a convenience, we provide you with /es6/{dev|prod}/es5build.js, a script to transpile the es6 sources into es5 using Google Traceur.

License: Apache MIT 2.0