angular-cn/modules/angular2
Tobias Bosch f114d6c560 fix(compiler): fix cross view references and providers with `useValue`.
Before, we would create all fields in the generated views
with visibility `private`. This does not work if an embedded
view references a directive / element in a parent view.
In Dart, this was no problem so far as it does not have
a `private` modifier.

Before, `useValue` in a provider did not work when doing
offline compile, as so far the `MetadataResolver` was only
used for jit mode. Now, `useValue` supports any kind of value
that the static reflector can return. E.g. primitives,
arrays, string maps, …

Closes #8366
2016-05-01 02:30:33 +00:00
..
animate cleanup(testing): create top level files for mocks 2015-11-24 19:29:52 +00:00
docs feat(core): separate refs from vars. 2016-04-28 01:13:40 +00:00
examples feat(core): separate refs from vars. 2016-04-28 01:13:40 +00:00
http cleanup(testing): create top level files for mocks 2015-11-24 19:29:52 +00:00
manual_typings fix(typings): Don't expose typing dependencies to users. 2016-02-04 22:42:40 +00:00
platform refactor(core): type `ComponentRef`, `ComponentFactory` and `ComponentFixture` by the component type 2016-04-30 19:47:54 +00:00
router chore: remove const Provider() in favor of /* @ts2dart_Provider */ {provide:} 2016-04-29 16:53:50 -07:00
src fix(compiler): fix cross view references and providers with `useValue`. 2016-05-01 02:30:33 +00:00
test fix(compiler): fix cross view references and providers with `useValue`. 2016-05-01 02:30:33 +00:00
web_worker refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
README.dart.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
README.js.md chore(build): remove es5build.js 2015-11-06 18:22:57 +00:00
alt_router.ts feat(router): implement relative navigation 2016-04-29 18:04:55 -07:00
angular2.dart refactor(core): support non reflective bootstrap. 2016-04-20 11:34:11 -07:00
animate.ts feat(animate): adds basic support for CSS animations on enter and leave 2015-09-14 17:37:09 +00:00
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 feat(core): separate refs from vars. 2016-04-28 01:13:40 +00: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 chore: replace CONST_EXPR with /*@ts2dart_const*/ 2016-04-29 16:53:49 -07:00
testing.ts feat(testing): Use NgZone in TestComponentBuilder. 2016-04-28 22:37:37 +00:00
testing_internal.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
tsconfig.json fix(setup): set tsconfig so that it works in editors 2015-11-09 08:43:15 -08:00
tsd.json chore: upgrade to new Zone.js API v0.6.2 2016-03-16 18:05:09 +00:00
upgrade.ts chore(ngUpgrade): Move into Angular2 2015-10-31 20:48:27 -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