angular-docs-cn/modules/angular2
Matt Follett 045ce3c77a Fix which dependency is injected w/ current elem.
Docs for the "Injecting a directive from the current element" indicate that having a dependency of `dependency: Dependency` should cause the current element's dependency to be injected, but then uses the ID value from the parent element in the example.

Closes #1032
2015-03-21 18:14:43 +00:00
..
docs chore(services): rename services. 2015-03-11 18:30:37 -07:00
src Fix which dependency is injected w/ current elem. 2015-03-21 18:14:43 +00:00
test refactor(test_lib): remove IS_NODEJS 2015-03-20 15:50:05 +01: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
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 refactor(view): separate context and locals 2015-03-17 14:25:57 -07:00
core.js docs: annotations 2015-03-19 16:56:52 +00:00
di.js feat(di): Add the `@Injectable` annotation 2015-03-17 22:12:47 -07:00
directives.js refactor(directives): Drop ng- prefix from all angular directives and rename NgRepeat to Foreach 2015-02-06 09:24:50 -08:00
forms.js refactor(forms): make form group responsible for supporting optional controls 2015-03-10 18:12:30 -07:00
package.json chore: re-add dependency on zone.js 2015-02-26 19:20:02 +01:00
pubspec.yaml chore: upgrade guinness to remove a workaround in testlib 2015-03-13 18:19:10 -07: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

README.js.md

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