Go to file
Kara 26d4ce29e8 fix(forms): ensure observable validators are properly canceled (#15132)
Observable subscriptions from previous validation runs should be canceled
before a new subscription is created for the next validation run.
Currently the subscription that sets the errors is canceled properly,
but the source observable created by the validator is not. While this
does not affect validation status or error setting, the source
observables will incorrectly continue through the pipeline until they
complete. This change ensures that the whole stream is canceled.

AsyncValidatorFn previously had an "any" return type, but now it more
explicitly requires a Promise or Observable return type. We don't
anticipate this causing problems given that any other return type
would have caused a runtime error already.
2017-03-16 10:15:17 -07:00
.github docs(gh): try to improve the issue template (#11891) 2016-09-30 16:40:56 -07:00
aio fix(aio): scroll to hash fragment element on URL change 2017-03-15 16:11:30 -07:00
docs docs: update 2.4.9 release schedule 2017-03-01 22:43:38 -08:00
integration test: integration test that Angular apps compile with TS 2.2 (#15153) 2017-03-16 09:13:48 -07:00
modules Revert "feat(core): expose `inputs`, `outputs` and `ngContentSelectors` on `ComponentFactory`." 2017-03-15 13:23:10 -07:00
packages fix(forms): ensure observable validators are properly canceled (#15132) 2017-03-16 10:15:17 -07:00
scripts build: update symlink scripts for Windows (#14987) 2017-03-15 17:13:54 -07:00
tools fix(forms): ensure observable validators are properly canceled (#15132) 2017-03-16 10:15:17 -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 build(aio): update .gitignore 2017-03-07 18:24:45 -08:00
.nvmrc ci: bump node version to 6.9.5 and npm to 3.10.7 2017-02-02 23:28:00 -08:00
.pullapprove.yml ci: add wardbell and gkalpak to aio approvers (#15030) 2017-03-13 09:34:40 -07:00
.travis.yml test(platform-server): add initial e2e tests for platform-server (#15061) 2017-03-14 17:11:39 -07:00
CHANGELOG.md docs: add changelog for 4.0.0-rc.3 2017-03-10 12:26:19 -08:00
COMMITTER.md docs: update COMITTER.md with info about pullapprove.com 2017-01-27 21:23:21 -08:00
CONTRIBUTING.md build(aio): big move of docs related files (#14361) 2017-02-09 11:58:36 -08:00
DEVELOPER.md docs(developer): add description of `npm-run` to run locally installed `npm` scripts (#13765) 2017-01-29 12:12:38 -06:00
LICENSE style(docs): update copyright years (#13736) 2017-01-27 20:47:14 -08:00
NAMING.md docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
README.md docs: branding fixes (#14132) 2017-01-27 15:03:11 -06: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 docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
TRIAGE_AND_LABELS.md docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
bower.json docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
browser-providers.conf.js ci: disable Android 4.1, 4.2 and 4.3 in SauceLabs (#14461) 2017-03-16 09:13:07 -07:00
build.sh refactor: More generic build.sh file 2017-03-08 16:29:28 -08:00
circle.yml build: update to yarn 0.21.3 (#14805) 2017-03-01 23:58:05 -08:00
gulpfile.js build: check yarn version in `check-environment` (#14499) 2017-02-22 20:55:25 -08:00
karma-js.conf.js fix: fix path locally to empty.js (#15073) 2017-03-15 13:40:24 -07:00
npm-shrinkwrap.clean.json build(tsc-wrapped): update tsickle to version 0.21.5 2017-03-15 09:23:36 -07:00
npm-shrinkwrap.json build(tsc-wrapped): update tsickle to version 0.21.5 2017-03-15 09:23:36 -07: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 fix(core): update peer dep on zone.js to ^0.8.2 (#15078) 2017-03-14 20:42:39 -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: 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: fix path locally to empty.js (#15073) 2017-03-15 13:40:24 -07:00
test.sh build: build modules and examples for karma 2017-03-08 17:35:20 -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 using Typescript/JavaScript (JS) and other languages.

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.