angular/modules/angular2
Tobias Bosch cc0c30484f refactor(compiler): cleanup and preparation for integration
- Rename `DirectiveMetadata` into `CompileDirectiveMetadata`, merge
  with `NormalizedDirectiveMetadata` and remove `ChangeDetectionMetadata`
- Store change detector factories not as array but
  directly at the `CompiledTemplate` or the embedded template
  to make instantiation easier later on
- Already analyze variable values and map them
  to `Directive.exportAs`
- Keep the directive sort order as specified in the
  `@View()` annotation
- Allow to clear the runtime cache in `StyleCompiler`
  and `TemplateCompiler`
- Ignore `script` elements to match the semantics of the
  current compiler
- Make all components dynamically loadable and remove
  the previously introduced property `@Component#dynamicLoadable`
  for now until we find a better option to configure this
- Don’t allow to specify bindings in `@View#directives` and `@View#pipes` as this was never supported by the transformer (see below for the breaking change)

BREAKING CHANGE:
- don't support DI bindings in `@View#directives` and `@View@pipes` any more in preparation of integrating the new compiler. Use `@Directive#bindings` to reexport directives under a different token instead.

Part of #3605
Closes #4314
2015-09-22 12:50:03 -07:00
..
docs chore(build): replace traceur-runtime with es6-shim. 2015-09-14 21:02:29 +00:00
manual_typings chore(build): replace traceur-runtime with es6-shim. 2015-09-14 21:02:29 +00:00
src refactor(compiler): cleanup and preparation for integration 2015-09-22 12:50:03 -07:00
test refactor(compiler): cleanup and preparation for integration 2015-09-22 12:50:03 -07:00
web_worker fix(Typings): Remove public exports added in 1926335b85 2015-09-11 19:16:57 -07:00
angular2.dart refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
angular2.ts fix(api): remove animation from public API 2015-09-15 18:12:05 +00: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 fix(sfx): Include ngHttp in SFX bundle 2015-09-18 09:07:31 -07:00
animate.ts feat(animate): adds basic support for CSS animations on enter and leave 2015-09-14 17:37:09 +00:00
bootstrap.ts refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
bootstrap_static.dart refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
core.dart feat(core): Add a long-form syntax for Angular bootstrapping. 2015-09-14 23:37:39 +00:00
core.ts fix(Typings): Remove public exports added in 1926335b85 2015-09-11 19:16:57 -07:00
http.ts docs(http): add docs and examples for JSONP_BINDINGS 2015-09-21 22:20:58 +00:00
lifecycle_hooks.ts refactor(Lifecycle hooks): move the hooks to their own module (lifecycle_hooks) 2015-09-05 01:02:33 +00:00
mock.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
package.json refactor(async): replace RxJS with RxNext 2015-09-15 23:44:57 +00:00
profile.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
pubspec.yaml chore(dart/transform): Integrate protoc into gulp build 2015-09-15 08:39:07 -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
render.ts refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
router.ts refactor(router): Switch from using APP_COMPONENT binding to a manual ROUTER_PRIMARY_COMPONENT binding. 2015-09-14 23:37:39 +00:00
test.ts refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
test_lib.ts fix(Typings): Remove public exports added in 1926335b85 2015-09-11 19:16:57 -07:00
tools.ts feat(perf): change detection profiler 2015-09-09 01:12:58 +00:00
tsconfig.json fix(tsconfig): target should be lower case 2015-07-08 16:07:25 -07:00
tsd.json refactor(async): replace RxJS with RxNext 2015-09-15 23:44:57 +00: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 /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