angular-cn/modules/@angular
Tobias Bosch 7e4fd7d7da refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method
If a `@NgModule` has a `bootstrap` property, `PlatformRef.bootstrapModule` /
`PlatformRef.bootstrapModuleFactory` will automatically bootstrap the components
listed in there.
If such a property does not exist, `PlatformRef.bootstrapModule` /
`PlatformRef.bootstrapModuleFactory` will try to call the method `ngDoBootstrap(appRef: ApplicationRef)` on the module class.
Otherwise an error is reported.
2016-08-02 11:23:26 -07:00
..
common refactor(core): use `ngOnDestroy` in providers 2016-08-02 11:23:26 -07:00
compiler refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method 2016-08-02 11:23:26 -07:00
compiler-cli refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method 2016-08-02 11:23:26 -07:00
core refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method 2016-08-02 11:23:26 -07:00
docs docs(cheatsheet): add moduleId (#10095) 2016-08-02 07:34:04 -07:00
examples refactor: dart 2016-08-01 11:34:51 -07:00
facade test: reactivate some of the disabled tests in Edge (#10450) 2016-08-02 10:58:03 -07:00
forms refactor(core): use `ngOnDestroy` in providers 2016-08-02 11:23:26 -07:00
http fix: String.split(str, n) stops after n separator (#10408) 2016-08-01 11:33:35 -07:00
platform-browser refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method 2016-08-02 11:23:26 -07:00
platform-browser-dynamic refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method 2016-08-02 11:23:26 -07:00
platform-server refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method 2016-08-02 11:23:26 -07:00
router refactor(core): introduce `APP_BOOTSTRAP_LISTENER` multi provider 2016-08-02 11:23:26 -07:00
router-deprecated refactor(core): use `ngOnDestroy` in providers 2016-08-02 11:23:26 -07:00
upgrade refactor(core): introduce `@NgModule.bootstrap` and `ngDoBootstrap` method 2016-08-02 11:23:26 -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