angular-docs-cn/modules/angular2
Jeff Cross 903ff9047f feat(core): add ability to reflect DOM properties as attributes
By binding the token `DOM_REFLECT_PROPERTIES_AS_ATTRIBUTES` provided by 
the dom_renderer module to `true` in the root injector (i.e. bootstrap()), 
all elements whose properties are set by angular will be reflected as 
attributes with the prefix "ng-reflect-".

Fixes #2910
2015-07-15 13:59:44 -07:00
..
docs docs(modules): fix typos 2015-07-07 16:14:43 -07:00
src feat(core): add ability to reflect DOM properties as attributes 2015-07-15 13:59:44 -07:00
test feat(core): add ability to reflect DOM properties as attributes 2015-07-15 13:59:44 -07:00
README.dart.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
README.js.md fix(npm): update scripts and readme for npm packages. 2015-06-09 11:39:08 -07:00
angular2.ts feat(core): add ability to reflect DOM properties as attributes 2015-07-15 13:59:44 -07:00
angular2_sfx.dart style(dart): Format Dart source with dart_style 0.1.8 2015-05-29 10:42:47 -07:00
angular2_sfx.ts refactor: export angular as ‘ng’ in SFX 2015-07-07 20:04:13 -07:00
annotations.ts refactor(LifecycleEvent): change from onInit to Lifecycle.onInit 2015-07-14 16:51:44 -07:00
change_detection.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
core.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
debug.ts refactor(render): cleanup access to native dom elements 2015-06-23 17:27:59 -07:00
di.ts fix(di): removed default visibility 2015-07-13 16:00:07 -07:00
di_errors.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
di_metadata.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
di_transformer.dart feat(transformers): expose DI transformer for use by packages 2015-07-14 16:59:03 -07:00
directives.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
forms.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
globals.d.ts chore: add some FIXMEs to globals.d.ts. 2015-06-17 16:21:54 -07:00
http.ts feat(http): add support for JSONP requests 2015-07-14 21:31:05 -04:00
mock.ts refactor(TemplateResolver): rename to ViewResolver 2015-06-24 18:40:04 +02:00
package.json chore(npm): correct generated package json files. 2015-06-29 10:30:00 -07:00
pipes.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
pubspec.yaml feat(pipes): add number (decimal, percent, currency) pipes 2015-07-09 14:59:57 -07:00
render.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
router.ts fix(router): export lifecycle hooks in bundle 2015-07-13 17:03:42 -07:00
test.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
test_lib.ts feat(test): add test bundle 2015-07-09 18:07:48 -07:00
traceur-runtime.d.ts feat: remove MapWrapper.create()/get()/set(). 2015-06-18 14:55:12 -07:00
transformer.dart feat(dart/transformer:: Initial commit of ctor stubs & annotation register 2015-02-17 16:34:19 -08:00
tsconfig.json fix(tsconfig): target should be lower case 2015-07-08 16:07:25 -07:00
tsd.json fix(build): Reduce rx typings to what we actually require. 2015-06-29 16:59:04 -07:00
view.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01: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 /ts are the TypeScript 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