Victor Berchet
7295a5e7f2
refactor: format and lint code
2016-12-12 11:30:25 -08:00
Misko Hevery
20bed46737
docs(Location): updating Location docs and adding example
...
closes #11500
2016-12-12 11:19:21 -08:00
Misko Hevery
2a5012d515
chore: Add @types/systemjs
2016-12-12 11:19:05 -08:00
Jesús Rodríguez
fb38fba8f9
chore: convert hash_location_strategy example to a tested spec
2016-12-12 11:19:05 -08:00
Victor Berchet
aaf6e05f56
refactor(commonn): fix lint issues
...
closes #13352
2016-12-09 15:37:46 -08:00
Victor Berchet
c8baf51f4f
style: clang-format the code
2016-12-09 11:19:55 -08:00
Misko Hevery
b4db73d0bf
feat: ngIf now supports else; saves condition to local var
...
NgIf syntax has been extended to support else clause to display template
when the condition is false. In addition the condition value can now
be stored in local variable, for later reuse. This is especially useful
when used with the `async` pipe.
Example:
```
<div *ngIf="userObservable | async; else loading; let user">
Hello {{user.last}}, {{user.first}}!
</div>
<template #loading>Waiting...</template>
```
closes #13061
closes #13297
2016-12-09 11:19:08 -08:00
Misko Hevery
e15a3f273f
fix: Better instructions on running examples and their tests
2016-12-09 11:16:49 -08:00
Bowen Ni
4cbf8ccf05
Keep `console.log` that are not called during compilation.
2016-11-23 15:47:02 -08:00
Bowen Ni
2c02d34c05
refactor(lint): Don't allow console.log
...
Enable tslint check for `console.log` as a follow-up to
https://github.com/angular/angular/issues/13018
2016-11-23 15:47:01 -08:00
Peter Bacon Darwin
009d545787
chore(examples): add upgrade/static example
2016-11-16 09:18:10 -08:00
Peter Bacon Darwin
53c25210a6
chore(examples): support upgrade/static examples
2016-11-16 09:18:10 -08:00
Joao Dias
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
Victor Berchet
1bd858fb43
build(examples): upgrade to protractor 4.0.9 ( #12803 )
...
closes #12798
2016-11-10 18:13:11 -08:00
Joao Dias
e86573bac8
chore(lint): replace gulp check-task with tslint no-jasmine-focus rule
...
fixes #11800
2016-10-28 15:53:15 -07:00
Alex Eagle
41c8c30973
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-09-27 17:12:25 -07:00
Kara
bf81b06a28
docs(forms): add select control examples ( #11728 )
2016-09-19 16:25:33 -07:00
Kara
fa4723a208
docs(forms): add radio button examples ( #11676 )
2016-09-19 10:41:20 -07:00
Victor Berchet
54b41f57be
docs(Host): fix the API example ( #11684 )
...
fixes #11681
2016-09-18 15:56:13 -07:00
vsavkin
003294d5df
docs(core): fix examples
2016-09-14 14:53:30 -07:00
vsavkin
5972fdc817
docs(core): extract how to examples
2016-09-14 14:53:30 -07:00
Misko Hevery
2c42a50fc3
docs(pipes): updated pipe documentation
2016-09-14 14:32:09 -07:00
Misko Hevery
caa1cd2470
docs(pipes): move pipe examples to the common folder
2016-09-14 14:26:00 -07:00
Alex Eagle
5fad37df69
Revert "chore(core): update public api file"
...
This reverts commit 727c2b38a4
.
Revert "docs(core): updates query decorator docs"
This reverts commit b6287ccc51
.
Revert "docs(core): extract how to examples"
This reverts commit 69e8ace884
.
2016-09-14 13:34:25 -07:00
vsavkin
69e8ace884
docs(core): extract how to examples
2016-09-14 13:22:09 -07:00
Tobias Bosch
0a2132ef10
docs(di): update docs on di
2016-09-14 11:57:31 -07:00
Tobias Bosch
d299ce4bcf
docs(lifecycle): update docs for lifecycle hooks
2016-09-14 11:51:03 -07:00
Tobias Bosch
0b9425bbb4
fix(examples): make them work with `noImplicitAny` and `declarations:true`
2016-09-14 11:29:31 -07:00
Tobias Bosch
1a035a0dc7
build(examples): include in main `tsconfig.json`
...
Also rename `examples/tsconfig.json` into `examples/tsconfig-build.json`
so that it does not shadow the main `tsconfig.json` in editors
Also adds `noImplicitAny` and `declarations`
`examples/tsconfig.json`.
2016-09-14 11:29:31 -07:00
Victor Berchet
84b4338ab5
build(example): fix tsconfig ( #11593 )
2016-09-14 07:40:58 -07:00
Igor Minar
57f0269491
build(examples): fail build.sh if errors are found
2016-09-13 21:48:58 -07:00
Igor Minar
4e6c41b3a1
build(examples): work around protractor typings issues and fix existing type errors
...
This works around the typings issues until we have a build of protractor with typings that don't
polute global types via ambient type definitions
2016-09-13 21:48:58 -07:00
Kara
e71558ba89
docs(forms): update docs for FormBuilder ( #11548 )
2016-09-13 13:23:31 -07:00
vsavkin
60e49a7e4b
docs(core): add an example of using ViewChildren
2016-09-13 11:28:12 -07:00
vsavkin
c71e35cbf5
docs(core): add an example of using ViewChild
2016-09-13 11:28:12 -07:00
vsavkin
1348c65b0c
docs(core): add an example of using ContentChildren
2016-09-13 11:28:12 -07:00
vsavkin
ff03d87cdd
docs(core): add an example of using ContentChild
2016-09-13 11:28:12 -07:00
Kara
26d1423ae9
docs(forms): update docs for NgForm ( #11547 )
2016-09-12 17:01:04 -07:00
Kara
c9513b713a
docs(forms): add example apps for ngModelGroup ( #11525 )
2016-09-12 11:45:48 -07:00
Kara
66e38b6754
docs(forms): add example apps for ngModel ( #11524 )
2016-09-12 11:27:29 -07:00
Kara
c9ad5e46d6
docs(forms): add example app for formArrayName ( #11512 )
2016-09-12 11:26:43 -07:00
Kara
2cdd051109
docs(forms): update example for formGroupName ( #11510 )
2016-09-12 11:26:18 -07:00
Kara
57cb82052b
docs(forms): add example app for formControlDirective ( #11508 )
2016-09-12 11:24:09 -07:00
Kara Erickson
dd8204a655
docs(forms): update example for formGroupDirective
2016-09-12 11:22:51 -07:00
Kara Erickson
cdda4082de
docs(forms): add example app for formControlName
2016-09-12 11:22:51 -07:00
Matias Niemelä
ed2ebeb52a
fix(build): test example directories with unit and e2e tests ( #11296 )
2016-09-07 16:04:33 -07:00
Alex Rickabaugh
27539c8b80
refactor(example): refactor forward_ref example into a spec and unignore example specs ( #11088 )
2016-08-26 15:40:46 -07:00
Igor Minar
ea2e5521e8
refactor: replace any[] with Provider[] where possible
2016-08-25 13:29:03 -07:00
Igor Minar
3c2b2ff332
test: fix existing tests by removing usage of obsolete stuff like component level directives, AsyncCompleter and TestComponentBuilder
2016-08-23 09:59:00 -07:00
Rob Wormald
ca41b4f5ff
feature(core): update RxJS to 5.0.0-beta.11 ( #10648 )
2016-08-22 17:17:23 -07:00