Go to file
Peter Bacon Darwin 20b454cbc9 fix(upgrade): detect async downgrade component changes (#14039)
This commit effectively reverts 7e0f02f but for `upgrade/static`
as it was an invalid fix for #6385, that created a more significant
bug, which was that changes were not always being detected.

Angular 1 digests should be run inside the ngZone to ensure
that async changes are detected.

We don't know how to fix #6385 without breaking change detection
at this stage. That issue is triggered by async operations, such as
`setTimeout`, being triggered inside scope watcher functions.

One could argue that watcher functions should be pure and not do
work such as triggering async operations. It is possible that the
original use case could be supported by moving the debounce
logic into the watch listener function, which is only called if the
watched value actually changes.

See #13812

PR Close #14039
2017-01-27 11:51:55 -06:00
.github docs(gh): try to improve the issue template (#11891) 2016-09-30 16:40:56 -07:00
angular.io feat(aio): add initial angular-cli scaffold (#14118) 2017-01-27 00:20:51 -08:00
docs build(aio): move doc-gen stuff from angular.io (#14097) 2017-01-26 23:46:59 -08:00
integration test(integration): add an env for testing closure builds (#14130) 2017-01-27 09:17:50 -08:00
modules fix(upgrade): detect async downgrade component changes (#14039) 2017-01-27 11:51:55 -06:00
scripts test(integration): add an env for testing closure builds (#14130) 2017-01-27 09:17:50 -08:00
tools build(aio): move doc-gen stuff from angular.io (#14097) 2017-01-26 23:46:59 -08: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 feat(aio): add initial angular-cli scaffold (#14118) 2017-01-27 00:20:51 -08:00
.nvmrc chore(node): allow current node version 2016-09-19 16:24:31 -07:00
.pullapprove.yml ci: add pullapprove config for angular.io 2017-01-25 17:38:33 -08:00
.travis.yml ci(aio): run docs-tests in travis (#14097) 2017-01-26 23:47:07 -08:00
CHANGELOG.md docs(changelog): add changelog for 4.0.0-beta.5 2017-01-25 15:49:23 -08:00
COMMITTER.md chore(docs): update the merge process docs 2015-12-23 02:32:02 +00:00
CONTRIBUTING.md ci: add support for 'aoi' scope in commit messages for angular.io 2017-01-25 17:38:33 -08:00
DEVELOPER.md build(es2015): fix bad merge of #13471 (#14020) 2017-01-19 14:25:44 -08: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: update triage owners for language service and router (#13325) 2016-12-08 15:42:34 -08:00
bower.json refactor(benchmarks): make tree benchmark work again 2016-08-29 12:42:57 -07:00
browser-providers.conf.js ci(browser providers): update browsers in SL and BS (#13431) 2016-12-13 11:32:31 -08:00
build.sh feat(build): optionally build an ES2015 distro (#13471) 2017-01-17 18:26:36 -06:00
circle.yml ci: bump node and npm versions in circle.yaml to match travis 2017-01-23 10:51:28 -08:00
gulpfile.js build(aio): move doc-gen stuff from angular.io (#14097) 2017-01-26 23:46:59 -08:00
karma-js.conf.js fix(upgrade): fix `registerForNg1Tests` (#13522) 2016-12-16 15:14:16 -08:00
npm-shrinkwrap.clean.json test(integration): add an env for testing closure builds (#14130) 2017-01-27 09:17:50 -08:00
npm-shrinkwrap.json test(integration): add an env for testing closure builds (#14130) 2017-01-27 09:17:50 -08:00
npm-shrinkwrap.readme.md chore(lint): replace gulp check-task with tslint no-jasmine-focus rule 2016-10-28 15:53:15 -07:00
package.json test(integration): add an env for testing closure builds (#14130) 2017-01-27 09:17:50 -08: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: format and lint code 2016-12-12 11:30:25 -08: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 fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08: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 fix: correctly show error when karma fails to load 2017-01-06 19:30:09 -05:00
test.sh refactor(compiler): remove unneeded fields from metadata 2016-11-28 15:19:23 -08:00
tslint.json build(tslint): enable no-inner-declarations (#13316) 2016-12-08 13:46:08 -08: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.