Go to file
Peter Bacon Darwin d6791ff0e0 feat(ngUpgrade): add support for AoT compiled upgrade applications
This commit introduces a new API to the ngUpgrade module, which is compatible
with AoT compilation. Primarily, it removes the dependency on reflection
over the Angular 2 metadata by introducing an API where this information
is explicitly defined, in the source code, in a way that is not lost through
AoT compilation.

This commit is a collaboration between @mhevery (who provided the original
design of the API); @gkalpak & @petebacondarwin (who implemented the
API and migrated the specs from the original ngUpgrade tests) and @alexeagle
(who provided input and review).

This commit is an starting point, there is still work to be done:

* add more documentation
* validate the API via internal projects
* align the ngUpgrade compilation of A1 directives closer to the real A1
  compiler
* add more unit tests
* consider support for async `templateUrl` A1 upgraded components

Closes #12239
2016-10-19 15:27:49 -07:00
.github docs(gh): try to improve the issue template (#11891) 2016-09-30 16:40:56 -07:00
docs docs(public_api): fix missing backtick 2016-10-07 17:23:08 -07:00
modules feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
scripts feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
tools feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
.bowerrc chore(dgeni): clean up legacy typings bundle creation 2015-10-29 21:19:59 +00:00
.clang-format feat(tooling): Add a .clang-format for automated JavaScript formatting. 2015-04-02 08:44:34 -07:00
.editorconfig chore(.editorconfig): include markdown config 2015-01-27 00:14:48 -08:00
.gitattributes chore: force lf EOL for ts files (#11143) 2016-08-29 12:41:58 -07:00
.gitignore chore(git): cleanup .gitignore 2016-09-02 15:58:46 -07:00
.nvmrc chore(node): allow current node version 2016-09-19 16:24:31 -07:00
.travis.yml chore(ci): make browserstack tests optional until they are fixed 2016-10-19 10:41:00 -07:00
CHANGELOG.md docs(CHANGELOG.md): remove incorrect link (#12259) 2016-10-17 22:51:44 -07:00
COMMITTER.md chore(docs): update the merge process docs 2015-12-23 02:32:02 +00:00
CONTRIBUTING.md docs(CONTRIBUTING.md): fix typo (reproductions --> reproduction) (#12230) 2016-10-17 22:52:44 -07:00
DEVELOPER.md docs(DEVELOPER.md): fix typos on "Tests" section (#12029) 2016-10-02 14:19:47 -07:00
LICENSE Update change from Apache to MIT license 2016-01-08 13:41:58 -08:00
NAMING.md refactor(ngProbe): rename to ng.probe 2015-08-31 21:32:10 +00:00
README.md docs(readme): remove incorrect download count badge 2016-10-05 11:37:28 -07:00
SAVED_REPLIES.md docs(saved-replies): order the replies as shown in github (#12153) 2016-10-07 13:52:18 -07:00
TOOLS.md chore(docs): remove sentences for dart (#10781) 2016-08-16 19:38:49 -07:00
TRIAGE_AND_LABELS.md doc(triage): add info about user pain, frequency and severity labels 2016-10-05 15:58:45 -07:00
bower.json refactor(benchmarks): make tree benchmark work again 2016-08-29 12:42:57 -07:00
browser-providers.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
build.sh docs: update README.md for npm packages 2016-09-14 17:14:02 -07:00
circle.yml chore(lint): re-enable clang-format on tools/ 2016-05-26 15:46:03 -07:00
gulpfile.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
karma-js.conf.js feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
npm-shrinkwrap.clean.json feat(Parse5): update to the latest version 2.2.1 2016-09-30 10:46:49 -07:00
npm-shrinkwrap.json feat(Parse5): update to the latest version 2.2.1 2016-09-30 10:46:49 -07:00
npm-shrinkwrap.readme.md build(npm): add tools/npm/reshrinkwrap script and update docs 2016-01-22 03:25:33 +00:00
package.json chore: bump version number and generate CHANGELOG (#12247) 2016-10-12 13:19:31 -07:00
protractor-e2e.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
protractor-examples-e2e.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
protractor-perf.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
publish-packages.sh chore: remove deprecated router 2/2 2016-08-09 15:24:14 -07:00
shims_for_IE.js Revert "refactor: add license header to JS files & format files (#12035)" 2016-10-04 14:06:41 -07:00
test-main.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
test.sh build(test.sh): clear dist directory when the script starts 2016-09-06 15:35:10 -07:00
tslint.json chore(tslint.json): semicolon rule expects an array 2016-10-19 22:38:14 +01:00

README.md

Build Status CircleCI Join the chat at https://gitter.im/angular/angular Issue Stats Issue Stats npm version

Sauce Test Status
Safari (7+), iOS (7+), Edge (14) and IE mobile (11) are tested on BrowserStack.

Angular

Angular is a development platform for building mobile and desktop web applications. This is the repository for Angular 2 Typescript/JavaScript (JS).

Angular2 for Dart can be found at dart-lang/angular2.

Quickstart

Get started in 5 minutes.

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.