angular/modules/@angular
Tobias Bosch bf598d6b8b feat(compiler): support sync runtime compile
Adds new abstraction `Compiler` with methods
`compileComponentAsync` and `compileComponentSync`.
This is in preparation of deprecating `ComponentResolver`.

`compileComponentSync` is able to compile components
synchronously given all components either have an inline
template or they have been compiled before.

Also changes `TestComponentBuilder.createSync` to
take a `Type` and use the new `compileComponentSync` method.

Also supports overriding the component metadata even if
the component has already been compiled.

Also fixes #7084 in a better way.

BREAKING CHANGE:
`TestComponentBuilder.createSync` now takes a component type
and throws if not all templates are either inlined
are compiled before via `createAsync`.

Closes #9594
2016-06-28 10:26:16 -07:00
..
common fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
compiler feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
compiler-cli feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
core feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
docs docs: update cheatsheet import lines (#9614) 2016-06-26 07:31:35 -07:00
examples fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
facade feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
forms fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
http fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
platform-browser fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
platform-browser-dynamic fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
platform-server fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
router fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
router-deprecated fix(common/testing): remove internal MockLocationStrategy from common/testing (#9562) 2016-06-24 12:41:57 -07:00
upgrade fix: public api surface fixes + stability markers 2016-06-28 07:39:40 -07:00
license-banner.txt chore(package.json): make the packages installable 2016-05-27 17:21:34 -07:00
package.json repackaging: all the file moves 2016-05-01 20:51:00 -07:00
pubspec.yaml repackaging: all the file moves 2016-05-01 20:51:00 -07:00
README.dart.md repackaging: all the file moves 2016-05-01 20:51:00 -07:00
README.js.md repackaging: all the file moves 2016-05-01 20:51:00 -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 /ts are the TypeScript source files.

License: Apache MIT 2.0