angular-docs-cn/modules/angular2
Tobias Bosch 9092ac79d4 refactor(core): support non reflective bootstrap.
This changes Angular so that it can be used without reflection (assuming a codegen for injectors).

BREAKIKNG CHANGE:
- Drops `APP_COMPONENT` provider. Instead, inject
  `ApplicationRef` and read its `componentTypes` property.
- long form bootstrap has changed into the following:
  ```
  var platform = createPlatform(ReflectiveInjector.resolveAndCreate(BROWSER_PROVIDERS));
  var appInjector =
    ReflectiveInjector.resolveAndCreate([BROWSER_APP_PROVIDERS, appProviders], platform.injector);
  coreLoadAndBootstrap(appInjector, MyApp);
  ```
2016-04-20 11:34:11 -07:00
..
animate
docs docs(cheatsheet/dart): fix imports 2016-04-07 21:23:14 +00:00
examples refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
http
manual_typings fix(typings): Don't expose typing dependencies to users. 2016-02-04 22:42:40 +00:00
platform refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
router feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
src refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
test refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
web_worker refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
README.dart.md
README.js.md
angular2.dart refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
animate.ts
common.ts refactor(Location): out of router and into platform/common 2016-04-20 04:28:47 +00:00
compiler.ts refactor(view_compiler): codegen DI and Queries 2016-04-13 14:43:48 -07:00
core.dart refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
core.ts refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
http.ts revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
i18n.ts feat(i18n): reexport I18nHtmlParser through the i18n barrel 2016-03-28 19:54:13 +00:00
instrumentation.ts revert(format): Revert "chore(format): update to latest formatter" 2016-04-12 09:41:01 -07:00
package.json fix(package.json): remove es6-promise from the peerDependency list 2016-03-22 01:53:35 +00:00
pubspec.yaml fix(dart) reverts `protobuf` to last working version 2016-04-18 18:28:43 +00:00
router.ts refactor(Location): out of router and into platform/common 2016-04-20 04:28:47 +00:00
testing.ts
testing_internal.ts
tsconfig.json
tsd.json chore: upgrade to new Zone.js API v0.6.2 2016-03-16 18:05:09 +00:00
upgrade.ts

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