angular-cn/modules/@angular
Tobias Bosch 46b212706b refactor(core): change module semantics
This contains major changes to the compiler, bootstrap of the platforms
and test environment initialization.

Main part of #10043
Closes #10164

BREAKING CHANGE:
- Semantics and name of `@AppModule` (now `@NgModule`) changed quite a bit.
  This is actually not breaking as `@AppModules` were not part of rc.4.
  We will have detailed docs on `@NgModule` separately.
- `coreLoadAndBootstrap` and `coreBootstrap` can't be used any more (without migration support).
  Use `bootstrapModule` / `bootstrapModuleFactory` instead.
- All Components listed in routes have to be part of the `declarations` of an NgModule.
  Either directly on the bootstrap module / lazy loaded module, or in an NgModule imported by them.
2016-07-26 07:04:10 -07:00
..
common refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
compiler refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
compiler-cli refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
core refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
docs chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
examples refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
facade refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
forms refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
http fix(testing): correctly import NgMatchers (#10077) 2016-07-22 09:20:51 -07:00
platform-browser refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
platform-browser-dynamic refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
platform-server refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
router refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
router-deprecated chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00
upgrade refactor(core): change module semantics 2016-07-26 07:04:10 -07:00
README.js.md repackaging: all the file moves 2016-05-01 20:51:00 -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

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.

License: Apache MIT 2.0