angular-cn/modules
Cédric Exbrayat 592f40aa9c feat(forms): add hasError and getError to AbstractControlDirective (#11985)
Allows cleaner expressions in template-driven forms.

Before:

    <label>Username</label><input name="username" ngModel required #username="ngModel">
    <div *ngIf="username.dirty && username.control.hasError('required')">Username is required</div>

After:

    <label>Username</label><input name="username" ngModel required #username="ngModel">
    <div *ngIf="username.dirty && username.hasError('required')">Username is required</div>

Fixes #7255
2016-10-19 09:49:02 -07:00
..
@angular feat(forms): add hasError and getError to AbstractControlDirective (#11985) 2016-10-19 09:49:02 -07:00
angular1_router refactor(facade): inline StringWrapper (#12051) 2016-10-06 15:10:27 -07:00
benchmarks feat(benchmark): add large form benchmark 2016-10-19 09:39:16 -07:00
benchmarks_external chore: remove obsolete dart related files 2016-09-02 15:58:46 -07:00
e2e_util benchmarks: add ng2_ftl and ng2_switch_ftl benchmarks (#11963) 2016-09-30 09:09:31 -07:00
payload_tests/hello_world/ts refactor(core): remove deprecated 'bootstrap' (#10831) 2016-08-16 11:15:01 -07:00
playground refactor(facade): inline StringWrapper (#12051) 2016-10-06 15:10:27 -07:00
rollup-test refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
empty.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
es6-subset.d.ts chore(typings): restrict Angular to es5+collections+promise 2016-06-27 13:58:59 -07:00
system.d.ts fix(build): Remove duplicate System declarations (#10713) 2016-08-11 19:37:01 -07:00
tsconfig.json refactor(benchmarks): add `index_aot` to support AoT bootstrap. (#12105) 2016-10-06 08:37:37 -07:00
types.d.ts fix(build): Remove duplicate System declarations (#10713) 2016-08-11 19:37:01 -07:00