jithil-kore
ad499628cb
docs: fix typo for Browserslist in build guide ( #28328 )
...
PR Close #28328
2019-01-29 16:35:26 -08:00
Matti Järvinen
24f5428187
docs: fix typo for Browserslist in file structure guide ( #28312 )
...
PR Close #28312
2019-01-29 16:33:18 -08:00
Nazar Nasirzada
a228d65412
docs: fix typo in lifecycle-hooks.md ( #28206 )
...
## PR Checklist
Please check if your PR fulfills the following requirements:
* [x] The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit
* [ ] Tests for the changes have been added (for bug fixes / features)
* [x] Docs have been added / updated (for bug fixes / features)
## PR Type
What kind of change does this PR introduce?
* [ ] Bugfix
* [ ] Feature
* [ ] Code style update (formatting, local variables)
* [ ] Refactoring (no functional changes, no api changes)
* [ ] Build related changes
* [ ] CI related changes
* [x] Documentation content changes
* [ ] angular.io application / infrastructure changes
* [ ] Other... Please describe:
## What is the current behavior?
Issue Number: N/A
## What is the new behavior?
## Does this PR introduce a breaking change?
* [ ] Yes
* [x] No
## Other information
PR Close #28206
2019-01-29 16:32:02 -08:00
onlyflix
41e68f7a7a
style: change to American English ( #27266 )
...
PR Close #27266
2019-01-29 16:30:25 -08:00
Kapunahele Wong
75074d009f
docs: rewrite event binding section and add example ( #26162 )
...
PR Close #26162
2019-01-22 11:31:41 -08:00
Giorgos Bamparopoulos
197676a6dd
docs: rename "internal" access modifier to "protected" ( #26627 )
...
PR Close #26627
2019-01-22 11:20:26 -08:00
Luiz Machado
1fb6731285
docs: fix crisis-detail milestone files ( #27025 )
...
Crisis Detail's template was being added two times and the component's TS none.
PR Close #27025
2019-01-22 11:19:51 -08:00
Hamza TEI
1df8be5573
docs: update link to post on redirects in router guide ( #27256 )
...
Change victor savkin's url post on redirects to:
http://vsavkin.tumblr.com/post/146722301646/angular-router-empty-paths-componentless-routes
PR Close #27256
2019-01-22 11:17:18 -08:00
ericksoen
6324ad45e7
docs: correct minor typo ( #27382 )
...
PR Close #27382
2019-01-22 10:19:05 -08:00
Stepan Suvorov
7439b46c5a
docs: fix explanation of Injectable decorator in architecture guide ( #27480 )
...
PR Close #27480
2019-01-22 10:18:05 -08:00
krzysztof-grzybek
cfb41452ce
docs: update testing doc example style for HostListener ( #26372 )
...
HostListener is preferred over host metadata by official style guide
PR Close #26372
2019-01-14 17:04:46 -08:00
Malgosia
857fcfe048
docs: ng config link fix ( #28115 )
...
Fixed 'ng config' link to lead to proper CLI command site
PR Close #28115
2019-01-14 10:47:05 -08:00
javatutorials2016
2c9f0139a3
docs: fix typo in singleton services guide ( #27948 )
...
PR Close #27948
2019-01-14 10:41:30 -08:00
Shivam_Vyas
1ec01d6758
docs: change in(what should I import? answer) NgModule FAQs ( #27677 )
...
I think only should be after BrowserModule , because we can import more than BrowserModule and I think we need to import other modules to AppModule in most of cases and we should import BrowserModule only in AppModule,so that thing seems okay.
PR Close #27677
2019-01-14 10:39:03 -08:00
Ashinze Ekene
4bb5f638bc
docs: fix typo in dependency injection guide ( #27616 )
...
~~`HeroService` must provided in some parent injector~~
*`HeroService` must be provided in some parent injector*
PR Close #27616
2019-01-14 10:38:05 -08:00
coultonluke
d6aca79410
docs: updates to minor spelling mistakes in pipes guide ( #27208 )
...
PR Close #27208
2019-01-14 10:34:17 -08:00
Brandon Roberts
e4c899e4ba
docs: add browser polyfills for IE11 with hash-based routing ( #27135 )
...
Closes #26511
PR Close #27135
2019-01-14 10:33:23 -08:00
Sasidhar Vanga
5e6e96d844
docs: fix GitHub pages deployment command ( #26896 )
...
closes #26803
PR Close #26896
2019-01-14 10:32:31 -08:00
Courtney Pattison
638375b7ca
docs: fix typo in testing guide ( #26828 )
...
PR Close #26828
2019-01-14 10:30:33 -08:00
cyraid
c5b67b95b7
docs: update link in universal guide ( #26628 )
...
Link to the document "53 percent of mobile site visits" was changed, updated link. Old link led to a page that didn't have the statistics on it.
PR Close #26628
2019-01-14 10:12:52 -08:00
Alan Agius
78bc21c63a
docs: fix scripts section and some minor issues in universal documentation ( #26444 )
...
PR Close #26444
2019-01-14 10:11:08 -08:00
Judy Bogart
e082fc24b2
docs: add library doc to guides in aio ( #27581 )
...
PR Close #27581
2019-01-11 16:22:19 -08:00
George Kalpakas
8c3f98fdbb
docs(service-worker): fix example of manually checking for updates ( #28020 )
...
Poll for updates in a way that does not prevent the SW from being
registered. Discussed in https://github.com/angular/angular/pull/27332#pullrequestreview-179504620 .
PR Close #28020
2019-01-11 11:17:18 -08:00
Judy Bogart
a6f7fe394a
docs: add schematics terms to glossary ( #27862 )
...
PR Close #27862
2019-01-11 11:15:08 -08:00
Kapunahele Wong
d505468fb7
docs: re-write interpolation section and add example ( #25170 )
...
PR Close #25170
2019-01-11 11:12:44 -08:00
Joseph Harrison-Lim
bccf8da35f
docs(router): fix misnamed path ( #27879 )
...
This change matches the routes found in the following code example
for auth.guard.ts as well as the login.component.1.ts in the "Add
the LoginComponent" section.
PR Close #27879
2019-01-10 17:06:05 -08:00
Mark Goho
acb2caced0
docs: fix typo ( #27865 )
...
PR Close #27865
2019-01-10 17:04:54 -08:00
Johannes Hoppe
96f4969a2b
docs: fix broken html for deployment.md ( #27851 )
...
without the closing quote the text and link are not displayed correctly
PR Close #27851
2019-01-10 17:03:54 -08:00
George Kalpakas
d0c3e252a3
docs: remove deprecated `fromPromise` from RxJS guide ( #28015 )
...
Follow-up to #27443 .
PR Close #28015
2019-01-09 15:37:52 -08:00
Michael De Wree
582395b8f5
docs: fix typo PageNotFoundCompponent ( #27799 )
...
closes : #27795
PR Close #27799
2019-01-09 12:42:39 -08:00
Paul Gschwendtner
c7d1890aaa
build: remove travisci leftovers ( #27979 )
...
PR Close #27979
2019-01-09 10:41:16 -08:00
Alan Agius
a0a3648e7a
docs: add more info on what is being cached ( #27343 )
...
PR Close #27343
2019-01-03 09:29:44 -08:00
Ronen Gelman
7df9040c05
docs: add missing comma to environment config in build guide ( #27476 )
...
PR Close #27476
2019-01-03 09:29:17 -08:00
Mohammed Salman
5638c1d507
docs: fix npm description in architecture modules guide ( #27818 )
...
PR Close #27818
2019-01-03 09:28:45 -08:00
Alan
755c8091af
docs: improve description of bundle budgets ( #27833 )
...
PR Close #27833
2019-01-03 09:28:16 -08:00
Cyrille Tuzi
59f64dd361
docs(service-worker): update service worker configuration doc ( #27868 )
...
PR Close #27868
2019-01-03 09:27:30 -08:00
Nico Jansen
707c6828b5
docs(elements): add "Firefox" for support of custom elements ( #27789 )
...
Firefox now supports custom elements: https://caniuse.com/#feat=custom-elementsv1
PR Close #27789
2018-12-26 11:27:45 -08:00
Emilio Martinez
94f17e9038
docs: remove misplaced code in Universal guide ( #26865 )
...
PR Close #26865
2018-12-17 09:35:35 -08:00
Lucas
dc1ed3c47e
docs: fix ngModel typo in form validation guide ( #27574 )
...
Fix typo
PR Close #27574
2018-12-11 16:22:58 -08:00
Michał Jawulski
3cb6dad6d5
docs: update npm scripts to support angular 7 ( #27334 )
...
PR Close #27334
2018-12-11 11:25:36 -08:00
dennisameling
3983d04b1c
docs: fix dynamic-component-loader example for Adblock Plus + EasyList ( #27212 )
...
Reported issue in #18138 is due to EasyList being selected in ABP. This commit fixes both the image at the bottom of the Dynamic Component Loader example, and the Stackblitz demo.
Fixes #18138
PR Close #27212
2018-11-30 13:35:38 -08:00
Jacob Foshee
9e391e010c
docs: Minor: insert missing space ( #27213 )
...
PR Close #27213
2018-11-28 11:41:21 -08:00
Amadou Sall
8424f587b0
docs: replace ChromeNoSandbox by ChromeHeadlessCI ( #27304 )
...
the custom launcher name should be named ChromeHeadlessCI instead of ChromeNoSandbox.
PR Close #27304
2018-11-28 11:40:03 -08:00
Brandon Roberts
30f12f2887
docs: add forms terms to glossary ( #27075 )
...
PR Close #27075
2018-11-26 09:26:06 -08:00
Elan Hasson
859da3af50
docs: The note had an indentation and was missing line breaks ( #27183 )
...
Fixed the formatting and made Note bold.
PR Close #27183
2018-11-20 10:43:31 -08:00
Alan
a4934a74b6
docs: fix code examples style ( #26573 )
...
PR Close #26573
2018-11-16 12:27:00 -08:00
Rae Krantz
efa443bba3
docs: fix typo ( #26878 )
...
PR Close #26878
2018-11-13 10:49:35 -08:00
Ferdinand Malcher
f80c6008af
docs: Fix wrong quoting in SSR guide ( #27057 )
...
PR Close #27057
2018-11-12 12:52:32 -08:00
Alvaro Junqueira
c89045fb77
docs: update links to TC39 and observable proposal ( #26715 )
...
Before (404 Not Found):
http://www.ecma-international.org/memento/TC39.htm
After:
https://www.ecma-international.org/memento/tc39-m.htm
PR Close #26715
2018-11-09 09:41:57 -08:00
Manish Bansal
1258ec041d
docs: Fix links ( #27027 )
...
Fix the links.
PR Close #27027
2018-11-09 09:40:44 -08:00
Vito Meuli
791d192e63
docs: correct https://angularconsole.com/ link ( #26999 )
...
PR Close #26999
2018-11-08 11:06:24 -08:00
George Kalpakas
93837e9545
feat(upgrade): support downgrading multiple modules ( #26217 )
...
Currently, calling `downgradeModule()` more than once is not supported.
If one wants to downgrade multiple Angular modules, they can create a
"super-module" that imports all the rest and downgrade that.
This commit adds support for downgrading multiple Angular modules. If
multiple modules are downgraded, then one must explicitly specify the
downgraded module that each downgraded component or injectable belongs
to, when calling `downgradeComponent()` and `downgradeInjectable()`
respectively.
No modification is needed (i.e. there is no need to specify a module for
downgraded components and injectables), if an app is not using
`downgradeModule()` or if there is only one downgraded Angular module.
Fixes #26062
PR Close #26217
2018-11-05 16:33:55 -08:00
Judy Bogart
9c2d0d0b24
docs: edit file structure page ( #26552 )
...
PR Close #26552
2018-11-02 11:25:12 -07:00
hariberry
df6a8b28de
docs: Webcomponents activated as of firefox 63 ( #26889 )
...
PR Close #26889
2018-11-01 14:30:21 -07:00
Jason Aden
4e9f2e5895
feat(router): guard returning UrlTree cancels current navigation and redirects ( #26521 )
...
Fixes #24618
FW-153 #resolve
PR Close #26521
2018-10-31 19:51:50 -04:00
Igor Minar
62b4ff5250
docs: fixup deployment guide ( #26486 )
...
- remove sections that were not relevant (all the development stuff)
- fix incorrect info
PR Close #26486
2018-10-30 16:29:04 -04:00
Ivan Tham
87a7f2dcb9
docs: fix typo ( #26773 )
...
PR Close #26773
2018-10-30 16:23:49 -04:00
Daniel Lewis BSc (Hons)
8a4ec8e565
docs: describe your change... ( #26784 )
...
PR Close #26784
2018-10-30 13:49:12 -04:00
Judy Bogart
23648b052a
docs: configuration file reference ( #26484 )
...
PR Close #26484
2018-10-30 13:44:52 -04:00
Pete Bacon Darwin
aefa06f7df
docs(core): update security guide sanitize example ( #26777 )
...
The sanitizer now removes the content of script tags as well as the tag itself.
PR Close #26777
2018-10-26 12:31:49 -04:00
jenniferfell
26e8032bd0
docs: update npm packages to be accurate for v7 ( #26422 )
...
PR Close #26422
2018-10-23 08:58:43 -07:00
nazanin1369
84af7b065d
docs(service-worker): Specify format of datagroups.cacheConfig.timeout ( #26469 )
...
Fixes #26454
PR Close #26469
2018-10-23 08:58:17 -07:00
jenniferfell
34c6ce6b08
docs: update release info now that v7 is released ( #26660 )
...
PR Close #26660
2018-10-23 08:51:48 -07:00
Brandon Roberts
aa55d88408
docs: forms overview copy edit ( #26450 )
...
PR Close #26450
2018-10-19 11:08:47 -07:00
Nikhil Sharma
07fc4c2464
docs(service-worker): updated browser support for Service Worker ( #26408 )
...
PR Close #26408
2018-10-19 11:08:00 -07:00
Alan
7634c1cb31
docs: fix links to browserlist ( #26531 )
...
PR Close #26531
2018-10-18 12:00:38 -07:00
Rob Phoenix
95914a0fbf
docs: update http to https where possible ( #26509 )
...
PR Close #26509
2018-10-18 11:57:57 -07:00
Rob Phoenix
9c50891d6e
docs: update links to Karma homepage ( #26509 )
...
PR Close #26509
2018-10-18 11:57:57 -07:00
null-reference
624433c51d
docs: removing errant double-quote ( #26483 )
...
PR Close #26483
2018-10-18 11:57:27 -07:00
lovelangy
09cc458bfc
docs: type fix ( #26386 )
...
according to the source code and the doc https://angular.io/api/forms/NgModel#inherited-from-formsngcontrol-1 , the method name should be "viewToModelUpdate" instead of "viewToModel"
PR Close #26386
2018-10-18 11:56:51 -07:00
Siddharth Ajmera
665627e254
fix(aio): add relative to app level routes section ( #26504 )
...
Added word *relative* to the **Routes at the app level** section description. This was not specified before. The routes in the *lazy-loading-ngmodules/src/app/app-routing.module.ts* also had `loadChildren` values starting with `app/...`.
The code for `app-routing.module.ts` is already fixed in [this commit](67ad9468d3
)
PR Close #26504
2018-10-17 13:11:42 -07:00
Rob Phoenix
3a65c9ad4e
docs: Update link to angular-cli repo ( #26497 )
...
PR Close #26497
2018-10-17 11:24:19 -07:00
Alan
23d625172a
docs: update continuous integration story ( #26497 )
...
PR Close #26497
2018-10-17 11:24:19 -07:00
Alan
c3643615fc
docs: replace `alert-is-helpful` with `alert is-helpful` ( #26497 )
...
PR Close #26497
2018-10-17 11:24:19 -07:00
Alan
638aaecc7d
docs: add missing backticks ( #26497 )
...
PR Close #26497
2018-10-17 11:24:19 -07:00
Judy Bogart
225162aa6c
docs: edit file structure guide ( #26256 )
...
PR Close #26256
2018-10-17 11:08:37 -07:00
jenniferfell
beebf7fe14
docs: change links to cli wiki to link to new aio docs ( #26489 )
...
PR Close #26489
2018-10-17 11:06:34 -07:00
jenniferfell
0ef1f7ef0d
docs: change links to cli wiki to link to new aio docs files m to z ( #26492 )
...
PR Close #26492
2018-10-17 11:06:07 -07:00
William Marques
fc6dad40ac
fix(docs-infra): rename "title" by "header" to avoid unwanted tooltips ( #26396 )
...
Closes #26174
PR Close #26396
2018-10-17 11:05:29 -07:00
George Wilde
948f507ba0
docs(forms): change headings ( #25900 )
...
Update heading level so it will appear in the TOC.
PR Close #25900
2018-10-16 20:39:45 -07:00
George Wilde
81a8ee1ddb
docs(forms): change headings ( #25900 )
...
Remove "Form" sub-heading & move intro to template-driven form heading.
PR Close #25900
2018-10-16 20:39:45 -07:00
George Wilde
5e58da14f0
docs(forms): change headings ( #25900 )
...
Change the headings of the template-driven forms guide page.
This makes the first heading consistent with other guide pages and the menu label reducing confusion to users browsing the guide.
PR Close #25900
2018-10-16 20:39:45 -07:00
jenniferfell
81c9720acb
docs: fix links to setup and cli docs ( #26463 )
...
PR Close #26463
2018-10-16 14:14:19 -07:00
Vani
ea2cfbbd2e
docs: remove setup for local dev and anatomy of setup docs from nav ( #26380 )
...
PR Close #26380
2018-10-16 14:14:00 -07:00
Judy Bogart
5183bbffbe
docs: update process for cli tool and restructure doc ( #25752 )
...
PR Close #25752
2018-10-15 11:22:18 -07:00
null-reference
9afc9a7464
docs: minor wording correction. "use" to "user". ( #26452 )
...
PR Close #26452
2018-10-15 11:19:46 -07:00
jenniferfell
b2db32b715
docs: getting started updated for accuracy and style ( #26093 )
...
PR Close #26093
2018-10-12 14:16:02 -07:00
jenniferfell
3daeadd235
docs: visual studio removed from nav and updated to refer to getting started instead of quickstart repo ( #26376 )
...
PR Close #26376
2018-10-12 14:08:11 -07:00
Simone Bigozzi
062fe5c2cf
docs: fix transpiles link in dependency injection ( #26250 )
...
fixed a double bracket that broke the link
PR Close #26250
2018-10-11 14:11:45 -07:00
jenniferfell
1657c997cd
docs: fix tbd link and minor edits ( #26404 )
...
PR Close #26404
2018-10-11 14:10:01 -07:00
Ashish Patel
25289664ea
docs: fix sentence in attribute directives guide ( #26266 )
...
PR Close #26266
2018-10-09 16:53:42 -07:00
siddhant
0bdea1f69c
docs: update docs to reflect the changes in RxJS 6 ( #26238 )
...
PR Close #26238
2018-10-08 13:43:12 -07:00
JiaLi.Passion
ccceff5ecc
docs: add fakeAsync test new feature document ( #23117 )
...
PR Close #23117
2018-10-05 15:43:37 -07:00
Frederik Schlemmer
6c6bc95ac0
docs: Rename 'QuickStart' into 'Getting Started' ( #25762 )
...
Delete symlink
docs: Undo unwanted changes
docs: Rename 'QuickStart' into 'Getting Started'
Revert symlink commit
PR Close #25762
2018-10-05 15:43:16 -07:00
Atuuh
3683c6a188
docs: fix wording ( #26207 )
...
fix wording to sound better
PR Close #26207
2018-10-05 14:19:08 -07:00
thanhpd
4006c9b6e6
docs: fix spelling errors ( #26213 )
...
PR Close #26213
2018-10-05 14:18:19 -07:00
Kirankumar Sripati
245b85f72a
docs: typo fixes ( #26247 )
...
PR Close #26247
2018-10-05 14:00:20 -07:00
Jordan Whitfield
794c3595d4
docs: fix a typo in the Universal guide ( #25853 )
...
line 39: `highly-interactive` is the pre-qualifier of `Angular application`, which is the subject so the comma is not necessary (I think). I think this will make it easier for non-native speakers.
PR Close #25853
2018-09-28 09:36:09 -07:00
Judy Bogart
f455518d80
docs: integrate cli doc from wiki into main doc ( #25776 )
...
PR Close #25776
2018-09-27 15:33:47 -07:00
arjunyel
e1990a5a80
docs: firefox web components info ( #26118 )
...
PR Close #26118
2018-09-26 15:25:44 -07:00
Brandon Roberts
bc88f318f6
docs: update routing integration section based on feedback ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
a5b7008c8e
docs: add section on router integration ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
ac5aa8f46d
docs: router guide review feedback changes ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
1fb3c4ffee
docs: Update router guide to use Angular CLI ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
3c8aa0b301
docs: Refresh content on routable animations for router guide ( #20023 )
...
PR Close #20023
2018-09-26 10:14:49 -07:00
Brandon Roberts
d19108531c
docs: cleanup minor changes for forms overview ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
eaccd03ed7
docs: fix typos from review feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
343df337f4
docs: update with forms overview review feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
9b14483824
docs: more overview feedback changes ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
74fef157e6
docs: updates from review feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
95168e4de0
docs: integrate forms diagrams into overview ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
13c3e241c8
docs: add final thoughts to forms overview ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
8d098d389a
docs: incorporated forms overview review feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
79a2567aa3
docs: forms overview review changes ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
5649acd03f
docs: add forms overview example for snippets ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
ebd01e8e79
docs: more form overview edits ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
e08955b557
docs: incorporated forms overview feedback ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
04dfca41f4
docs(forms): add package overview for forms ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
Brandon Roberts
129f69c3bc
docs: add forms overview guide ( #25663 )
...
PR Close #25663
2018-09-25 18:48:15 -07:00
George Wilde
bc02e19831
docs: correct path reference in upgrade guide ( #26072 )
...
The incorrect path is referenced, this is confusing to users following the "Upgrading from AngularJS" guide.
PR Close #26072
2018-09-24 09:13:24 -07:00
Judy Bogart
41ac58ab7d
docs: copy-edit ( #25732 )
...
PR Close #25732
2018-09-19 18:22:45 -07:00
Judy Bogart
f37cf52b4c
docs: integrate material from cli wiki ( #25732 )
...
PR Close #25732
2018-09-19 18:22:45 -07:00
Alan Agius
d7e5bbf2d0
feat(compiler-cli): add support to extend `angularCompilerOptions` ( #22717 )
...
`TypeScript` only supports merging and extending of `compilerOptions`. This is an implementation to support extending and inheriting of `angularCompilerOptions` from multiple files.
Closes : #22684
PR Close #22717
2018-09-19 16:17:28 -07:00
Vani
f91b0455c0
docs(animations): updated animation docs ( #24206 )
...
PR Close #24206
2018-09-19 10:37:31 -07:00
Kapunahele Wong
e8bab1349f
docs: delete extra sentence ( #25984 )
...
PR Close #25984
2018-09-19 09:42:12 -07:00
songjunting
8f81dba367
docs: fix typo in bootstrapping guide ( #25939 )
...
Fixes #25938
PR Close #25939
2018-09-14 16:38:18 -07:00
Alan Agius
379e8c5e19
docs: add `disableTypeScriptVersionCheck` documentation ( #25537 )
...
PR Close #25537
2018-09-11 12:25:55 -07:00
Vani
89af5291de
docs: move compiler options to last section of the page ( #22353 )
...
PR Close #22353
2018-09-10 10:30:00 -07:00
Liad Idan
d6cd041cbd
docs(service-worker): update http-server command ( #25845 )
...
PR Close #25845
2018-09-06 14:59:51 -07:00
Stephen Fluin
2f1bc1aa1a
docs: add pwa keyword to service worker page ( #25725 )
...
PR Close #25725
2018-09-04 12:09:54 -07:00
Judy Bogart
2379ad1a4b
docs: edit and organize di guide ( #21915 )
...
PR Close #21915
2018-08-30 13:15:47 -04:00
Bert Verhelst
69b57b2dca
docs: Improve docs for downgrading a service ( #19371 )
...
PR Close #19371
2018-08-21 10:49:00 -07:00
Sergey Koshechkin
b05d4a5007
docs: fix typo in service worker getting started guide ( #25512 )
...
PR Close #25512
2018-08-20 11:09:52 -07:00
JinBeom Hong
469d5e0448
docs: fix typo in reactive forms guide ( #25543 )
...
PR Close #25543
2018-08-20 11:08:32 -07:00
Judy Bogart
d2be3d5775
docs: copy edit glossary ( #25468 )
...
PR Close #25468
2018-08-17 14:33:51 -07:00
Brandon Roberts
de03abbd34
docs: reactive forms guide copy edits ( #25417 )
...
PR Close #25417
2018-08-16 13:50:51 -07:00
Justin Noel
3ac7070009
docs: fix typo in Architecture overview page ( #25438 )
...
PR Close #25438
2018-08-13 21:38:22 -07:00
Tomasz Kula
c8c1aa7fc0
docs(aio): add async validation chapter ( #25189 )
...
Closes #22881
PR Close #25189
2018-08-10 09:14:25 -07:00
Jonathan Sharpe
209cc7e1b0
docs: fix typo in testing guide ( closes #25400 ) ( #25418 )
...
PR Close #25418
2018-08-10 09:11:35 -07:00
Judy Bogart
8bbce3feff
docs: copy edit architecture guide ( #25328 )
...
PR Close #25328
2018-08-08 13:12:53 -07:00
Igor Minar
74518c4b2e
style: fix whitespace and indentation in the testing guide ( #21669 )
...
PR Close #21669
2018-08-08 13:11:15 -07:00
JiaLi.Passion
ebf508fcd0
docs: add docs for fakeAsync test with custom macroTask in aio ( #21669 )
...
PR Close #21669
2018-08-08 13:11:15 -07:00
Ro Savage
b8887ddf16
docs: fix table in comparing observables guide ( #22485 )
...
PR Close #22485
2018-08-06 13:41:15 -07:00
Vani
67ad59c245
docs: standardize spelling of tree-shakable ( #24057 )
...
PR Close #24057
2018-08-06 13:40:15 -07:00
Trotyl
c67f1bb38e
docs: several fixes for NPM package guide ( #20186 )
...
PR Close #20186
2018-08-06 11:32:30 -07:00
George Kalpakas
7b89711402
docs(elements): add section about custom element typings in `elements` guide ( #25219 )
...
PR Close #25219
2018-08-02 08:32:59 -07:00
George Kalpakas
f1223628a6
docs(elements): add link to full example in `elements` guide ( #25219 )
...
PR Close #25219
2018-08-02 08:32:59 -07:00
George Kalpakas
1b4269ad85
docs(elements): remove unnecessary whitespace in `elements` guide ( #25219 )
...
PR Close #25219
2018-08-02 08:32:59 -07:00
Sámal Rasmussen
06a1974a48
docs: Update the link to the Jasmine docs ( #25175 )
...
Solves #24462 .
Also update the http part of the link to to https.
PR Close #25175
2018-08-01 16:12:43 -07:00
Vadym Yatsyuk
4cb1074850
docs(aio): add short description for entryComponents ( #21360 )
...
PR Close #21360
2018-07-31 13:18:36 -07:00
Rajesh Duggal
3f20a2fb5a
docs: fix link to "Override component providers" ( #24967 )
...
Closes #24966
PR Close #24967
2018-07-30 21:53:21 -07:00
Daniel
4d5167ec83
docs: update bootstrapping and entry component guide to use httpclient ( #25178 )
...
PR Close #25178
2018-07-30 16:00:19 -07:00
Jerry Gao
efc6684cd3
docs: fix typo in dependency injection guide ( #24972 )
...
PR Close #24972
2018-07-30 15:56:35 -07:00
Daniel Sogl
d0c066a223
docs: replaced old angular/http example ( #25065 )
...
PR Close #25065
2018-07-24 20:47:20 -07:00
Stefanie Fluin
d523630ea2
docs(aio): cleanup aalert, callout, subsection use and author style ( #24986 )
...
PR Close #24986
2018-07-24 08:22:14 -07:00
Dario Braun
7729bb2bdc
docs: fix instructions for switching directories ( #24439 )
...
docs: fix instructions for switching directories
PR Close #24439
2018-07-23 08:38:10 -07:00
Kelly Marchewa
426324513d
docs: update rxjs link to version 6 ( #24269 )
...
PR Close #24269
2018-07-23 08:36:51 -07:00
Judy Bogart
f1ab394218
docs: add api doc to commonly queried elements
2018-07-20 12:39:10 -07:00
Judy Bogart
bb58138579
docs: fix bad link ( #24825 )
...
PR Close #24825
2018-07-20 11:34:38 -07:00
Xapuu
b8f740b253
docs: remove closing parenthesis from provides guide ( #24935 )
...
PR Close #24935
2018-07-20 11:07:53 -07:00
Marius Lichtblau
70b51a6255
docs: update i18n with requested changes ( #24875 )
...
use more general project name in code example
PR Close #24875
2018-07-20 10:36:13 -07:00
Marius Lichtblau
7ebd8e59a8
docs: update i18n doc regarding aot compilation ( #24875 )
...
Add missing lines to code example to allow using ng serve with custom i18n configurations.
PR Close #24875
2018-07-20 10:36:12 -07:00
Raphaël Jamet
5840a86f98
docs: Add notes on manual sanitization to security guide ( #24176 )
...
Some users have remarked that we don't explain how to manually call
sanitization, so add a few lines on that.
PR Close #24176
2018-07-20 10:27:12 -07:00
Brandon Roberts
99a393e84f
docs: add new Reactive Forms guide ( #24578 )
...
PR Close #24578
2018-07-19 13:46:30 -04:00
Jamie Krug
23dc9a90b0
docs: fix typo in user input guide ( #22630 )
...
PR Close #22630
2018-07-18 14:04:09 -04:00
Dario Braun
82004c76ac
docs: update component styles doc regarding relative URL ( #24471 )
...
Update the documentation to match the CLI mechanics regarding relative URL in link tags.
docs: update info on stylesheet location for CLI
PR Close #24471
2018-07-12 16:44:00 -04:00
Arun Kumar
0d6b74dd87
docs: fix typo in component architecture guide ( #24832 )
...
Change the sentence from 'this tells Angular how provide ...' to 'this tells Angular how to provide ...'. The current sentence does not make grammatical sense.
PR Close #24832
2018-07-12 14:31:27 -04:00
Jamie Krug
ffb9dc6cf9
docs: fix incorrect forms selector references ( #22631 )
...
PR Close #22631
2018-07-10 18:50:17 -07:00
Jamie Krug
505b54b86b
docs: fix typos referencing inline component styles ( #22557 )
...
PR Close #22557
2018-07-10 18:48:29 -07:00
Judy Bogart
50fbed8e5f
docs: correct project definition ( #24807 )
...
PR Close #24807
2018-07-10 18:47:19 -07:00
George Kalpakas
03616bcb43
docs: fix typo in Universal guide ( #24812 )
...
PR Close #24812
2018-07-10 11:12:45 -07:00
Judy Bogart
49df4ef454
docs: add tree-shakable providers ( #24481 )
...
PR Close #24481
2018-07-10 11:12:07 -07:00
Judy Bogart
e1146f3d06
docs: clarify wording in architecture overview ( #24481 )
...
Closes #23463
Closes #22158
PR Close #24481
2018-07-10 11:12:07 -07:00
George Kalpakas
250527ca68
feat(service-worker): add support for `?` in SW config globbing ( #24105 )
...
The globbing is used in the following sections:
- `assetGroups` > `resources` > `files`/`versionedFiles`
- `assetGroups` > `resources` > `urls`
- `dataGroups` > `urls`
- `navigationUrls`
Query params are ignored for `files`/`versionedFiles` and
`navigationUrls`, but they are still taken into account for
`assetGroups`/`dataGroups` `urls`. To avoid a breaking change, `?` is
matched literally for these patterns.
PR Close #24105
2018-07-06 13:50:17 -07:00
Judy Bogart
3e6a722ddb
docs: add workspace and related cli terms ( #24633 )
...
PR Close #24633
2018-07-06 10:13:39 -07:00
Kapunahele Wong
b719905f9b
docs: clarify faqs about services ( #24079 )
...
PR Close #24079
2018-07-06 10:10:41 -07:00
paulmojicatech
7f3242affb
docs: fix documention for attributes directive ( #24367 )
...
fix:update documentation for attributes directive to fix error
PR Close #24367
2018-07-03 18:34:58 -04:00
Rob Wormald
3553977bd7
feat(core): add support for ShadowDOM v1 ( #24718 )
...
add a new ViewEncapsulation.ShadowDom option that uses the v1 Shadow DOM API to provide style encapsulation.
PR Close #24718
2018-07-02 14:37:41 -07:00
Jonathan Sharpe
1ae3f87383
docs: update HTTP error test example again ( #24701 )
...
This has somehow regressed since angular/angular#22844 was merged.
PR Close #24701
2018-07-02 14:37:18 -07:00
Conner Chyung
4e7a44c816
docs: fix typo in pipes guide ( #24452 )
...
PR Close #24452
2018-07-02 14:36:55 -07:00
Kapunahele Wong
22758912a0
docs(aio): tech edits to upgrade-lazy ( #18487 ) ( #18487 )
...
PR Close #18487
PR Close #18487
2018-06-27 15:01:47 -07:00
Georgios Kalpakas
70156bc4ed
docs(upgrade): add guide about `downgradeModule()` ( #18487 ) ( #18487 )
...
PR Close #18487
PR Close #18487
2018-06-27 15:01:47 -07:00
Georgios Kalpakas
24e0c3d43d
docs: minor fixes in `docs-style-guide` ( #18487 ) ( #18487 )
...
PR Close #18487
PR Close #18487
2018-06-27 15:01:47 -07:00
Alan Agius
32da3e1602
docs: add explanation for `enableResourceInlining` ( #24644 )
...
PR Close #24644
2018-06-27 14:31:53 -07:00
Tomasz Kula
5c0e681bf3
docs(aio): fix adding to template driven forms ( #23743 )
...
PR Close #23743
2018-06-26 11:03:36 -07:00
Tomasz Kula
7d6e833a6f
docs(aio): fix issues suggested by Brandon ( #23743 )
...
PR Close #23743
2018-06-26 11:03:35 -07:00
Tomasz Kula
49e900d6fc
docs(aio): fix issues suggested by Kara ( #23743 )
...
PR Close #23743
2018-06-26 11:03:35 -07:00
Tomasz Kula
5feb9e1935
docs(aio): address pr review issues ( #23743 )
...
PR Close #23743
2018-06-26 11:03:35 -07:00
Tomasz Kula
002a5afa98
docs(aio): add cross field validation example ( #23743 )
...
PR Close #23743
2018-06-26 11:03:35 -07:00
Ricardo Varanda
fe8fe9ba9e
docs: update Angular CLI option for sourcemaps ( #24437 )
...
PR Close #24437
2018-06-25 07:53:26 -07:00
George Tzinos
637805a0c9
docs: update `lowercase` pipe example in "AngularJS to Angular" guide ( #24588 )
...
PR Close #24588
2018-06-21 13:14:31 -07:00
Brandon Roberts
794584e353
docs: Remove outdated Webpack guide and example ( #24478 )
...
A supporting Webpack guide will be introduced as part of the guidance
for ejecting from the Angular CLI.
Closes #23937
PR Close #24478
2018-06-18 15:03:22 -07:00
Pete Bacon Darwin
8977b9690e
docs(aio): remove unused guide doc ( #24000 )
...
This was erroneously committed into master, when it was really only
supposed to demo what the pages might look like.
PR Close #24000
2018-06-13 16:47:40 -07:00
Kirankumar Sripati
c8e865ac8e
docs: fix typo ( #24470 )
...
PR Close #24470
2018-06-13 11:54:26 -07:00
Kapunahele Wong
d9bf6e37ae
docs: fix wording in 4-10 ( #24385 )
...
PR Close #24385
2018-06-13 11:53:20 -07:00
Shaun Grady
153ba4dff3
docs(aio): Reorganize style guide sections on prefixing components/directives ( #22571 )
...
Closes https://github.com/angular/angular/issues/22081
PR Close #22571
2018-06-13 11:20:42 -07:00
Alan Agius
7623d74607
docs(aio): clean up frequent ng-modules ( #24025 )
...
Closes #24017
PR Close #24025
2018-06-04 10:13:18 -07:00
Nathan Phillip Brink
ccaa199366
docs(aio): remove an extraneous apostrophe ( #24293 )
...
PR Close #24293
2018-06-04 10:11:28 -07:00
alberto
5d6074eaff
docs: fix typo ( #24210 )
...
closes #24191
PR Close #24210
2018-05-30 17:06:12 -07:00
Aditya Bhardwaj
9add50129d
docs: fix typo ( #24210 )
...
closes #23891
PR Close #24210
2018-05-30 17:06:12 -07:00
Vani
4247176b6e
docs: fix typo if FAQ section ( #24210 )
...
closes #22360
PR Close #24210
2018-05-30 17:06:12 -07:00
Victor Berchet
27d811a7ce
Revert "docs: update docs to use HttpClientModule instead of HttpModule ( #22727 )"
...
This reverts commit 3ed7fc6686
.
2018-05-30 16:12:49 -07:00
Judy Bogart
c25e6142d2
docs: remove unfinished observables file ( #23801 )
...
PR Close #23801
2018-05-30 14:44:28 -07:00
Aditya Bhardwaj
223882aeb6
docs: fix typo ( #24201 )
...
closes #23853
PR Close #24201
2018-05-30 11:24:11 -07:00
Aaron Gussman
3ed7fc6686
docs: update docs to use HttpClientModule instead of HttpModule ( #22727 )
...
Updated most examples to use HttpClientModule instead of deprecated HttpModule
fix #19280
PR Close #22727
2018-05-30 10:03:14 -07:00
cexbrayat
41cd8f3efb
refactor(core): use Partial<T> for MetadataOverride ( #24103 )
...
Allows to write:
const fixture = TestBed
.overridePipe(DisplayNamePipe, { set: { pure: false } })
.createComponent(MenuComponent);
when you only want to set the `pure` metadata,
instead of currently:
const fixture = TestBed
.overridePipe(DisplayNamePipe, { set: { name: 'displayName', pure: false } })
.createComponent(MenuComponent);
which forces you to redefine the name of the pipe even if it is useless.
Fixes #24102
PR Close #24103
2018-05-29 18:40:05 -04:00
jenniferfell
00c4751f37
docs: update lts and labs practices ( #23922 )
...
PR Close #23922
2018-05-29 18:01:31 -04:00
Danny Rademacher
d74078fb88
docs(http): correct spelling error ( #23675 )
...
Correct a spelling error. I changed HttpParms to HttpParams
PR Close #23675
2018-05-29 16:55:06 -04:00
Patrick McDonald
6d8c847e7b
docs: fix typo ( #23998 )
...
"Made" doesn't make sense (redoing and closing #23940 )
PR Close #23998
2018-05-22 13:35:13 -04:00
Akihito Tamagawa
ea4321d912
docs(aio): fix typo ( #23990 )
...
are are -> are
PR Close #23990
2018-05-21 16:04:08 -04:00
Brandon Roberts
20d76374ed
docs(aio): Expose server and CLI configuration for universal in guide ( #23842 )
...
Closes #23795
PR Close #23842
2018-05-16 17:21:44 -04:00
Suguru Inatomi
547efb5f4d
docs(aio): fix path to observables guide ( #23858 )
...
PR Close #23858
2018-05-16 17:16:48 -04:00
Jonathan Sharpe
091b11a4ab
docs(aio): update HTTP error test example ( #22844 )
...
Update the example to match the description preceding it, which refers to the
use of the error method and ErrorEvent rather than the flush method with a
non-2xx status as shown previously.
PR Close #22844
2018-05-16 17:15:20 -04:00
George Kalpakas
1d378e2987
fix(service-worker): deprecate `versionedFiles` in asset-group resources ( #23584 )
...
Since `versionedFiles` behaves in the exact same way as `files`, there
is no reaason to have both. Users should use `files` instead.
This commit deprecates the property and prints a warning when coming
across an asset-group that uses it. It should be completely removed in
a future version.
Note, it has also been removed from the default `ngsw-config.json`
template in angular/devkit#754.
PR Close #23584
2018-05-15 12:19:08 -07:00
panakour
8a27a034c4
docs: update version to 6 in language-service ( #20795 )
...
PR Close #20795
2018-05-11 12:22:51 -04:00
Judy Bogart
c4221dad11
docs(elements): add angular element term to glossary ( #23807 )
...
PR Close #23807
2018-05-10 15:50:00 -07:00
Judy Bogart
72eab4d254
docs(elements): emphasize future direction, update link ( #23806 )
...
PR Close #23806
2018-05-10 15:46:53 -07:00
Brandon Roberts
d01ec03f54
docs(aio): Upgrade example dependencies to Angular V6 ( #23660 )
...
PR Close #23660
2018-05-08 13:56:48 -07:00
Brandon Roberts
9e2d87f5b8
docs(aio): Update i18n example to Angular V6 ( #23660 )
...
PR Close #23660
2018-05-08 13:56:48 -07:00
Brandon Roberts
2cf6244b1d
docs(aio): Upgrade server-side rendering example to Angular V6 ( #23649 )
...
PR Close #23649
2018-05-02 16:51:03 -07:00
jenniferfell
d7ed9c9e9e
docs: add new info about angular update policies and resources ( #23551 )
...
PR Close #23551
2018-05-02 16:26:46 -07:00
Vani
d71329d55c
docs: add information on when not to use tree-shakable providers ( #23634 )
...
PR Close #23634
2018-05-02 15:56:34 -07:00
Camilo Giraldo
d7e8d15578
docs: add missing link to bootstrapping section ( #23214 )
...
PR Close #23214
2018-05-02 15:53:00 -07:00
Vani
bfad6b4fa1
docs: add doc to include updates to the index.html with the new ng add command ( #23616 )
...
PR Close #23616
2018-05-02 15:18:23 -07:00
Brandon Roberts
fd9d1888ce
build(aio): align stackblitz files with Angular CLI V6 ( #23521 )
...
Also cleans up legacy references to `.angular-cli.json`
PR Close #23521
2018-05-02 15:00:57 -07:00
Anuj
94fbe3b5ac
docs(forms): Fixed a typo in the reactive form (From 'address' to 'secretLairs') section ( #23221 )
...
PR Close #23221
2018-05-02 15:00:27 -07:00
Andrew Seguin
56828e43b6
docs(elements): add intro connecting angular elements to custom elements ( #23638 )
...
PR Close #23638
2018-05-02 14:57:20 -07:00
George Kalpakas
ca1019a950
docs: fix typo in tag name (`my-child` --> `app-child`) ( #23606 )
...
Fixes #23599
PR Close #23606
2018-05-01 10:26:50 -07:00
Bennett Hardwick
cc6c4346c2
docs(aio): update docs error in guide/http ( #23567 )
...
Updates documentation to include examples for both req.flush and
req.error in http testing examples.
PR Close #23567
2018-04-27 07:24:17 -07:00
Judy Bogart
a522bb9f03
docs: correct more typos ( #23565 )
...
PR Close #23565
2018-04-27 07:19:14 -07:00
Judy Bogart
31b96e99ff
docs: correct typos ( #23565 )
...
PR Close #23565
2018-04-27 07:19:14 -07:00
Judy Bogart
b7a6e1fef7
docs: correct node.js version and usage ( #23565 )
...
PR Close #23565
2018-04-27 07:19:14 -07:00
Judy Bogart
f567e1898f
docs: update glossary architectural terms ( #23045 )
...
PR Close #23045
2018-04-25 13:21:52 -07:00
Noah Medling
8d0ee34939
docs: corrected spelling of "ambient".
2018-04-24 15:04:50 -07:00
Brandon Roberts
2278fe8f0e
docs(aio): Upgrade examples to Angular 6 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:02 -07:00
Anuj
010a4efa8c
docs(aio): Fixed typo in 'comparing observables -> Observabled compared ( #23407 )
...
to arrays' section.
PR Close #23407
2018-04-17 13:43:45 -07:00
Vani
9c29127723
docs: document how to enable service worker using ng add command ( #23348 )
...
PR Close #23348
2018-04-16 08:57:13 -07:00
Tiep Phan
fd1c39ce42
docs: update lifecycle hooks section in cheatsheet ( #23320 )
...
PR Close #23320
2018-04-15 23:44:44 -07:00
systemallica
896811df64
docs(aio): add missing word in the Component metadata section ( #23384 )
...
PR Close #23384
2018-04-15 23:36:55 -07:00
Brandon Roberts
490772e680
docs(aio): Update file tree to match Angular CLI V6 structure ( #23367 )
...
PR Close #23367
2018-04-13 14:19:16 -07:00
George Kalpakas
08325aaffc
feat(service-worker): add support for configuring navigations URLs ( #23339 )
...
The ServiceWorker will redirect navigation requests that don't match any
`asset` or `data` group to the specified index file. The rules for a
request to be classified as a navigation request are as follows:
1. Its `mode` must be `navigation`.
2. It must accept a `text/html` response.
3. Its URL must match certain criteria (see below).
By default, a navigation request can have any URL except for:
1. URLs containing `__`.
2. URLs to files (i.e. containing a file extension in the last path
segment).
While these rules are fine in many cases, sometimes it is desirable to
configure different rules for the URLs of navigation requests (e.g.
ignore specific URLs and pass them through to the server).
This commit adds support for specifying an optional `navigationUrls`
list in `ngsw-config.json`, which contains URLs or simple globs
(currently only recognizing `!`, `*` and `**`).
Only requests whose URLs match any of the positive URLs/patterns and
none of the negative ones (i.e. URLs/patterns starting with `!`) will be
considered navigation requests (and handled accordingly by the SW).
(This is an alternative implementation to #23025.)
Fixes #20404
PR Close #23339
2018-04-13 13:13:36 -07:00
George Kalpakas
d1e716b2cb
docs(service-worker): minor fixes/improvements ( #23339 )
...
PR Close #23339
2018-04-13 13:13:36 -07:00
Rob Wormald
74b203a55e
docs(elements): add ng-add docs to elements guide ( #23350 )
...
PR Close #23350
2018-04-13 00:50:04 -07:00
Juan Camilo Giraldo Chaverra
221ae6998a
docs(aio): fix typo on AOT compiler section
2018-04-13 00:06:26 -07:00
Rob Wormald
eb9968ab2a
docs(elements): use Angular Elements naming in nav ( #23213 )
...
PR Close #23213
2018-04-05 16:32:57 -07:00
George Kalpakas
b874501025
docs(aio): update `live-example` docs in authors style guide ( #23018 )
...
PR Close #23018
2018-04-05 10:12:09 -07:00
Igor Minar
5db9ab12c0
docs: fix skipTemplateCodeGen -> skipTemplateCodegen typo in the AOT compiler guide
2018-04-04 23:12:28 -07:00
Vani
4506230fbb
docs: update contents to recommend new way of defining providers ( #23076 )
...
PR Close #23076
2018-04-03 12:32:59 -07:00
Vani
5671ae6a58
docs: add tree-shakable providers doc ( #23027 )
...
PR Close #23027
2018-04-03 12:32:39 -07:00
jenniferfell
a4bf5621ed
docs: add reference to ng add in tutorial and quick reference ( #23130 )
...
PR Close #23130
2018-04-03 07:38:47 -07:00
Judy Bogart
ff34d5ea7a
docs: add custom elements documentation ( #22966 )
...
PR Close #22966
2018-04-02 14:13:46 -07:00
Judy Bogart
de0b13d41d
docs: update for hero service name change ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Judy Bogart
07d33d4e5a
docs: fix operator name ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Judy Bogart
9f7bd8f618
docs: update text around changed obs examples ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Veres Lajos
de90314304
style: typos fixed - https://github.com/vlajos/misspell-fixer ( #22975 )
...
PR Close #22975
2018-03-27 14:51:53 -04:00
Jinhyuk Kim
f461f43d72
docs: fix a typo in aot compiler guide ( #22876 )
...
PR Close #22876
2018-03-21 13:20:51 -07:00
Andrew Seguin
46efd4b938
feat(elements): George's comments ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
22b96b9690
feat(elements): add support for creating custom elements ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Victor Berchet
0ebd577db4
refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead ( #22783 )
...
BREAKING CHANGE:
The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).
This commit removes support for `<template>`. `<ng-template>` should be used
instead.
BEFORE:
<!-- html template -->
<template>some template content</template>
# tsconfig.json
{
# ...
"angularCompilerOptions": {
# ...
# This option is no more supported and will have no effect
"enableLegacyTemplate": [true|false]
}
}
AFTER:
<!-- html template -->
<ng-template>some template content</ng-template>
PR Close #22783
2018-03-15 14:52:22 -07:00
Judy Bogart
02e6ac2117
docs: incorporate suggestions and corrections from gkalpak ( #21569 )
...
PR Close #21569
2018-03-15 14:48:35 -07:00
Judy Bogart
04ca77e38e
docs(aio): update architecture section ( #21569 )
...
PR Close #21569
2018-03-15 14:48:35 -07:00
Ward Bell
1f9734315d
docs: testing - highlight dispatchEvent ( #22726 )
...
PR Close #22726
2018-03-14 10:21:41 -07:00
Kapunahele Wong
2ca77d80ec
docs: refactor revert() and call to lifecylce hook, edit doc to changes ( #22094 )
...
PR Close #22094
2018-03-08 10:58:42 -08:00
yerkebulan
505ae752b6
docs(aio): update deprecated Http reference to HttpClientModule, remove Http reference because another context is used ( #21984 )
...
docs(aio): change HttpClientModule reference to HttpClient
docs(aio): capitalize Http to HTTP
docs(aio): fix typo mistake in 'universal' guide
docs(aio): gets rid of the parentheses and the "e.g." in 'universal' guide
PR Close #21984
2018-03-06 15:03:54 -08:00
Ward Bell
d0db9ded90
docs: fix cli-quickstart doc and specs ( #22338 )
...
* tests were broken
* incorrect instructions.
* didn't match current CLI template for new project
PR Close #22338
2018-03-06 09:41:53 -08:00
SangKa.Z
3aea8fd5f3
docs(aio): fix table header ( #22553 )
...
PR Close #22553
2018-03-05 10:13:16 -08:00
Kapunahele Wong
c82cef8bc6
docs: fix dynamic component loader example ( #22181 )
...
closes #21903
PR Close #22181
2018-02-28 10:46:37 -08:00
Jason Aden
79656e7f96
docs(aio): add Observable and Rx docs ( #21423 )
...
PR Close #21423
2018-02-27 11:24:31 -08:00
Olivier Combe
82a791223c
docs: update i18n guide for projects that don't use the cli ( #21767 )
...
PR Close #21767
2018-02-26 17:51:58 -08:00
Ward Bell
a7e1f236ff
docs: testing guide for CLI ( #20697 )
...
- updates tests
- heavy prose revisions
- uses HttpClient (with angular-in-memory-web-api)
- test HeroService using `HttpClientTestingModule`
- scrub away most By.CSS
- fake async observable with `asyncData()`
- extensive Twain work
- different take on retryWhen
- remove app barrels (& systemjs.extras) which troubled plunker/systemjs
- add dummy export const to hero.ts (plunkr/systemjs fails w/o it)
- shrink and re-organize TOC
- add marble testing package and tests
- demonstrate the "no beforeEach()" test coding style
- add section on Http service testing
- prepare for stackblitz
- confirm works in plunker except excluded marble test
- add tests for avoidFile class feature of CodeExampleComponent
PR Close #20697
2018-02-26 13:40:23 -08:00
Matias Niemelä
b2f366b3b7
fix(animations): only use the WA-polyfill alongside AnimationBuilder ( #22143 )
...
This patch removes the need to include the Web Animations API Polyfill
(web-animations-js) as a dependency. Angular will now fallback to using
CSS Keyframes in the event that `element.animate` is no longer supported
by the browser.
In the event that an application does use `AnimationBuilder` then the
web-animations-js polyfill is required to enable programmatic,
position-based access to an animation.
Closes #17496
PR Close #22143
2018-02-22 16:07:53 -08:00
Kapunahele Wong
9eecb0b27f
docs: fix deployment sample path ( #22048 )
...
PR Close #22048
2018-02-22 13:40:57 -08:00
Kapunahele Wong
022ad4a420
docs: fix ngmodules-jsmodules pre-req ( #22316 )
...
closes #22157
PR Close #22316
2018-02-22 11:20:47 -08:00
Kapunahele Wong
a4f9e8180b
docs: edit styleguide recommendation on components as elements ( #22074 )
...
Change recommendation on using attributes for components since there are use cases including the use of <button mat-button> in MD
Closes #19401 .
PR Close #22074
2018-02-22 11:20:21 -08:00
Marco Alvarado
b42921bbd2
docs(aio): updates directive event hooks real capabilities ( #16654 )
...
Minor documentation update to include event hooks that were assumed to only work on components.
Closes angular/angular#10221
PR Close #16654
2018-02-21 14:51:04 -08:00
zhilich
722dec11b0
docs(aio): Wrong code example. Form status field was added later in the guide. ( #21275 )
...
PR Close #21275
2018-02-21 11:06:47 -08:00
Kapunahele Wong
1c1cbba04b
docs: add ngStyle to cheat sheet ( #22070 )
...
PR Close #22070
2018-02-20 16:08:15 -08:00
Oussama Ben Brahim
f1a063298e
feat(core): set preserveWhitespaces to false by default ( #22046 )
...
Fixes #22027
PR Close #22046
2018-02-16 09:06:14 -08:00
Kapunahele Wong
3a0b5a928c
docs(aio): fix extraneous divs ( #22069 )
...
PR Close #22069
2018-02-14 15:02:36 -05:00
Oussama Ben Brahim
eb48750705
docs(aio): fix typo in "preserveWhitespaces" example ( #22182 )
...
Fixes #22147
PR Close #22182
2018-02-12 15:57:42 -08:00
Suguru Inatomi
88bec238ac
fix(aio): remove broken span closing tag ( #22146 )
...
PR Close #22146
2018-02-12 10:01:10 -08:00
Mikhail Burshteyn
c3484450b8
docs: fix typo in http.md ( #22058 )
...
PR Close #22058
2018-02-09 13:10:23 -08:00
Pete Bacon Darwin
7007f51c35
feat(aio): first pass API docs redesign ( #21874 )
...
Includes:
* display ToC for API docs
* update dgeni-packages to 0.24.1
* add floating sidebar in API docs
* add breadcrumbs and structured data for Google crawler
* improved rendering of method overloads
* properties rendered in a table
* params rendered with docs
* removal of outdated "infobox" from all API docs
PR Close #21874
2018-02-09 13:05:16 -08:00
Trotyl
bc1e22922a
docs(aio): several fix for ngmodule guides ( #21517 )
...
PR Close #21517
2018-02-09 13:03:47 -08:00
Kapunahele Wong
83d43ac850
docs(aio): remove lifecycle hooks img ( #21425 )
...
PR Close #21425
2018-02-07 16:09:44 -08:00
Chuck Jazdzewski
b37cee36f9
fix(language-service): correct instructions to install the language service ( #22000 )
...
Fixes : #21956
PR Close #22000
2018-02-07 12:09:00 -08:00
Aric Thorn
cd4c0eab94
docs(forms): Custom Validator example selector name incorrect. ( #20464 )
...
Name of selector in ForbiddenName example is not consistent with Validator class nor Html selector example. Added the selector name 'appForbiddenName' as an alias name for the input of the Validator class, and updated the view accordingly.
Fixes : #20206
PR Close #20464
2018-02-07 12:01:12 -08:00
Judy Bogart
9d3326caa7
docs: clarify npm/yarn commands, add blank lines to mix md/html in table ( #21606 )
...
PR Close #21606
2018-02-05 13:02:14 -08:00
Judy Bogart
1940b18124
docs: update browser support ( #21606 )
...
PR Close #21606
2018-02-05 13:02:13 -08:00
Jannis Lehmann
7b120b5f73
docs: consistency fix in describing a custom tag ( #21747 )
...
PR Close #21747
2018-02-02 07:53:18 -08:00
Pete Bacon Darwin
de25d1886e
docs(aio): update docs changelog with links to ts-to-js guide ( #21763 )
...
PR Close #21763
2018-02-02 07:52:30 -08:00
JiaLi.Passion
447783e575
docs: add docs for IE ( #21824 )
...
PR Close #21824
2018-02-02 07:51:46 -08:00
musicq
d3c2aa5f95
docs: add missing underline ( #21892 )
...
PR Close #21892
2018-02-02 07:49:32 -08:00
yerkebulan
f9fa157a09
docs(aio): add missing closing `<code-examle>` tag ( #21771 )
...
PR Close #21771
2018-02-01 08:31:20 -08:00
Alex Rickabaugh
db3e65fb17
docs(service-worker): describe safety-worker.js in SW guide ( #21921 )
...
PR Close #21921
2018-01-31 10:25:14 -08:00
Ward Bell
7a20691f13
docs: add http guide sample and adjust text ( #21326 )
...
PR Close #21326
2018-01-31 10:24:43 -08:00
Bernd Hacker
72265f796f
fix(aio): missing plural s in preserveWhiteSpaces example ( #21854 )
...
PR Close #21854
2018-01-29 11:35:13 -08:00
Eli Sadoff
6e8bc310f0
docs: change ”it's" to "its" as needed in several docs. ( #21867 )
...
Most of them are in content but one is in common and needs special approval.
PR Close #21867
2018-01-29 11:34:46 -08:00
Pete Bacon Darwin
23596b3f30
docs(aio): fix missing stylesheet in component-styles example ( #21772 )
...
The code in the example was referring to `hero-app.component.css` but this did
not exist.
PR Close #21772
2018-01-25 13:38:12 -08:00
Miško Hevery
92ddd46bcc
Revert "docs(aio): update docs changelog with links to ts-to-js guide ( #21712 )"
...
This reverts commit 43d1b9864f
.
2018-01-24 15:50:41 -08:00
George Kalpakas
d0e086a5fe
fix(aio): remove remaining `plnkr` references ( #20165 )
...
PR Close #20165
2018-01-23 21:30:27 -08:00
Jesus Rodriguez
1a75934cc0
build(aio): migrate plunker to stackblitz ( #20165 )
...
PR Close #20165
2018-01-23 21:30:27 -08:00
Pete Bacon Darwin
43d1b9864f
docs(aio): update docs changelog with links to ts-to-js guide ( #21712 )
...
PR Close #21712
2018-01-23 13:33:36 -08:00
JiaLi.Passion
e82812b9a9
docs: fix #19989 , add zone flags(blacklist/module) in guide ( #21701 )
...
PR Close #21701
2018-01-23 13:33:10 -08:00
Denny Brown
8c51c276c7
docs: fix stray div and reformat paragraph ( #21676 )
...
PR Close #21676
2018-01-19 20:40:13 -08:00
Fabian Wiles
c8a1a14b87
docs: clarify the use of classes and interfaces in style guide ( #20919 )
...
PR Close #20919
2018-01-18 18:22:55 -06:00
Chuck Jazdzewski
64d16dee02
feat(compiler): implement "enableIvy" compiler option ( #21427 )
...
The "enableIvy" compiler option is the initial implementation
of the Render3 (or Ivy) code generation. This commit enables
generation generating "Hello, World" (example in the test)
but not much else. It is currenly only useful for internal Ivy
testing as Ivy is in development.
PR Close #21427
2018-01-18 18:22:44 -06:00
George Kalpakas
44a4b1680f
docs: improve/simplify example for `providers` guide ( #21589 )
...
PR Close #21589
2018-01-18 18:22:20 -06:00
George Kalpakas
4596b9d0df
docs: fix/improve example for `singleton-services` guide ( #21589 )
...
PR Close #21589
2018-01-18 18:22:20 -06:00
George Kalpakas
81e87095b4
docs: several minor `NgModule` guide fixes/improvements ( #21589 )
...
PR Close #21589
2018-01-18 18:22:20 -06:00
George Kalpakas
bf248792eb
docs: minor fixes (anchor tags, redundant whitespace, consistent code-snippets lang) ( #21589 )
...
PR Close #21589
2018-01-18 18:22:20 -06:00
Vani
1ce46b56f8
docs: change titles to sentence case ( #21620 )
...
PR Close #21620
2018-01-18 18:22:09 -06:00
Kapunahele Wong
af2a843446
docs: edit entry component FAQ ( #21487 )
...
PR Close #21487
2018-01-17 17:14:33 -08:00
Kapunahele Wong
02377335ec
docs: add server side redirect and fix NgModule FAQ links ( #21487 )
...
PR Close #21487
2018-01-17 17:14:33 -08:00
Kapunahele Wong
e79e98ab44
docs: fix lazy loading example dir name ( #21475 )
...
PR Close #21475
2018-01-17 17:02:41 -08:00
Alan Agius
030c68df32
docs(aio): change `df-question` to `app-question` ( #21438 )
...
closes : #21404
PR Close #21438
2018-01-17 07:20:17 -08:00
Chuck Jazdzewski
2d44a2ab0d
docs(compiler): document the $any type cast function ( #20968 )
...
Closes #20966
PR Close #20968
2018-01-12 14:37:26 -08:00
Kapunahele Wong
00300f66e8
docs(forms): clarify note in reactive forms doc ( #21134 )
...
PR Close #21134
2018-01-11 07:03:55 -08:00
Kapunahele Wong
53f91189a1
docs(aio): add NgModule docs ( #20306 )
...
PR Close #20306
2018-01-10 16:26:46 -08:00
Anton Strogonoff
27196b676b
docs(aio): fix punctuation for clarity ( #21325 )
...
PR Close #21325
2018-01-08 16:12:24 -08:00
chembu
e99475260f
docs(aio): document the template compiler options ( #21333 )
...
PR Close #21333
2018-01-08 13:23:16 -05:00
courtneypattison
03d16fcd24
docs(aio): add missing imports to interceptor example ( #21259 )
...
PR Close #21259
2018-01-04 17:40:34 -05:00
Dawid Winiarczyk
d365077dfa
docs(aio): HttpClientXsrfModule withConfig => withOptions ( #21185 )
...
Docummentation suggests use of HttpClientXsrfModule#withConfig but this method looks like it's renamed to #withConfig.
https://angular.io/guide/http#configuring-custom-cookieheader-names
PR Close #21185
2018-01-02 10:29:07 -06:00
Dmitry Fisenko
bc66d27938
docs(service-worker): fix word wrap ( #21114 )
...
The fix removes space between 'c' and 'aches' in docs
PR Close #21114
2017-12-21 20:12:18 -08:00
chembu
f593552cfe
docs(aio): Rename service worker files, update examples, move service worker under Techniques
2017-12-19 11:07:57 -08:00
Dmytro Yarmak
8458647232
docs(aio): fix inconsistency in lifecycle hooks table
2017-12-19 10:48:29 -08:00
Alex Rickabaugh
20e1cc049f
fix(service-worker): check for updates on navigation
...
Currently the Service Worker checks for updates only on SW startup,
an event which happens frequently but also nondeterministically. This
makes it hard for developers to observe the update process or reason
about how updates will be delivered to users. This problem is
exacerbated by the DevTools behavior of keeping the SW alive
indefinitely while opened, effectively preventing the page from
updating at all.
This change causes the SW to additionally check for updates on
navigation requests (app page reloads). This creates deterministic
update behavior, and is much easier for developers to reason about.
It does leave the old update-on-SW-startup behavior in place, as
removing that would be a breaking change.
Fixes #20877
2017-12-15 15:19:20 -08:00
Trotyl Yu
225baf4686
docs(aio): fix typo for missing quote ( #20888 )
...
PR Close #20888
2017-12-08 10:06:41 -08:00
Kapunahele Wong
9bbec42a6c
docs(aio): add service worker guide content and update nav ( #20736 )
...
PR Close #20736
2017-12-06 06:52:20 -08:00
Olivier Combe
be994496cd
docs(core): add docs for i18n tokens ( #17920 )
...
PR Close #17920
2017-12-05 21:56:43 -08:00
hartraft
77ef527993
docs(aio): update myUnless references to appUnless ( #20658 )
...
fixes Issue Number: #20447
PR Close #20658
2017-12-05 21:54:39 -08:00
Ward Bell
5e25d3986d
docs: component-styles guide - inline styles must be CSS ( #20701 )
...
Cannot write them in less, sass, or stylus
See CLI issue https://github.com/angular/angular-cli/issues/8472
PR Close #20701
2017-12-05 21:54:23 -08:00
ite-klass
18793c896b
docs(aio): Fix typo ( #20732 )
...
Remove duplicate word 'to'
PR Close #20732
2017-12-05 21:46:56 -08:00
George Kalpakas
47addd169d
revert: docs(aio): add service worker guide content and update nav ( #20021 ) ( #20716 )
...
* revert: style: broken build due to missing new lines
This reverts commit ba6af2a6dd
.
The commit that introduced these files (48300067f
) will also get
reverted.
* revert: docs(aio): add service worker guide content and update nav (#20021 )
This reverts commit 48300067fb
.
This commit has some issues (e.g. breaks some e2e tests, adds images
to the wrong directories, breaks linting, etc).
Reverting in order to investigate and fix.
2017-11-30 09:53:07 -08:00
Kapunahele Wong
48300067fb
docs(aio): add service worker guide content and update nav ( #20021 )
...
PR Close #20021
2017-11-29 12:15:27 -06:00
briancherin
eaaae2edf4
docs: fix grammar and wording ( #18530 )
...
PR Close #18530
2017-11-28 22:27:02 -06:00
Ward Bell
816d5ba3fd
docs: NgModule guide prose for CLI (partial) ( #19776 )
...
Also replaces “Angular Module” with “NgModule” wherever that is clarifying.
Continue using “module” when qualified as in “feature module”, “root module”, “routing module”, etc.
PR Close #19776
2017-11-20 18:39:25 -06:00
Leo Globerman
1adbcda12e
docs(aio): fix wrong copy ( #20431 )
...
PR Close #20431
2017-11-14 15:58:25 -08:00
Levi Zitting
b9bd3204f2
docs(aio): fix broken link in guide/component-interaction ( #20411 )
...
add a blank line before line with markdown link
PR Close #20411
2017-11-14 10:00:46 -08:00
Marcelo Melo
e5c4371d72
docs(aio): fix typo in filename (packages.json --> package.json) ( #20377 )
...
PR Close #20377
2017-11-14 10:00:39 -08:00
Aravind
3caae94261
docs(aio): fix not found schema ( #20347 )
...
Fixes #20338
PR Close #20347
2017-11-14 10:00:35 -08:00
Ward Bell
c03186013c
docs: Dependency Injection guides for CLI ( #19892 )
...
PR Close #19892
2017-11-14 10:00:28 -08:00
Jesus Rodriguez
5a2531ee45
docs(aio): update template forms to CLI ( #20014 )
...
PR Close #20014
2017-11-14 10:00:23 -08:00
Jesus Rodriguez
6ca780178c
docs(aio): update reactive-forms to CLI ( #20019 )
...
PR Close #20019
2017-11-14 10:00:17 -08:00
Jesus Rodriguez
9608b0636d
docs(aio): update displaying-data for CLI ( #19574 )
...
PR Close #19574
2017-11-14 10:00:13 -08:00
Jesus Rodriguez
89187d9b6b
docs(aio): update glossary for CLI ( #20017 )
...
PR Close #20017
2017-11-14 10:00:10 -08:00
Jesus Rodriguez
335b72f301
docs(aio): update ajs-quick-reference for CLI ( #19552 )
...
PR Close #19552
2017-11-14 10:00:02 -08:00
Ward Bell
75d474e1d3
docs: AttributeDirectives guide for CLI ( #19771 )
...
PR Close #19771
2017-11-14 09:59:43 -08:00
Aditya Bhardwaj
8e24c0fff4
docs(aio): fix typo ( #20103 )
...
PR Close #20103
2017-11-10 10:59:35 -08:00
Jesús Rodríguez
049c89645b
docs(aio): update ToH for CLI ( #19811 )
2017-11-06 10:02:17 -08:00
Evan Carroll
8b50ed083c
docs(aio): fixed case-typo for code ( #20196 )
2017-11-06 09:59:17 -08:00
Jesús Rodríguez
dbec3ca716
docs(aio): update pipes for CLI ( #19553 )
2017-11-03 15:21:14 -07:00
Ward Bell
169cedd43b
docs: Bootstrapping guide prose for CLI ( #19777 )
2017-11-03 11:13:24 -07:00
Ward Bell
567cc26b8e
docs: Component Styles guide for CLI ( #19791 )
2017-11-03 11:12:34 -07:00
Ward Bell
03f080b7da
docs: Deployment guide for CLI ( #19839 )
2017-11-03 11:10:53 -07:00
Ezeikel
f1da1419fa
docs(aio): Fix typo in Architecture Overview. ( #20073 )
2017-11-03 11:00:22 -07:00
Peter Bacon Darwin
feae55b264
docs(aio): fix badly formatted code-examples
...
closes #19970
2017-11-02 14:59:05 -07:00
Ward Bell
7186c9c839
docs: AOT guide for CLI #19510 ( #19818 )
2017-11-02 14:34:21 -07:00
Ward Bell
a41558eb30
docs: BrowserSupport guide for CLI ( #19843 )
2017-11-02 14:29:59 -07:00
Ward Bell
a91252a90c
docs: Npm Packages guide for CLI ( #19850 )
2017-11-02 14:27:53 -07:00
Olivier Combe
132c0719dc
docs(aio): updated i18n guide and example ( #19975 )
2017-11-02 14:22:09 -07:00
Panagiotis Koursaris
280dadaaad
docs(aio): fix typo in attribute-directives
...
Closes #20071
2017-11-01 15:21:09 -07:00
Jesus Rodriguez
c30eff898a
docs(aio): update universal for CLI
...
PR Close #20039
2017-11-01 15:18:43 -07:00
Mark Goho
6fbc2b3be0
docs(aio): update AngularJS Quick Reference guide
...
PR Close #19939
2017-11-01 15:44:35 -04:00
Sergey Koshechkin
93d23ddcc8
docs(aio): fix typo
...
PR Close #20029
2017-11-01 15:42:25 -04:00
Sergey Koshechkin
548a809a05
docs(aio): fix typo
...
PR Close #20042
2017-11-01 15:41:57 -04:00
zdouble
a161b4ab6d
docs(aio): fix typo
...
PR Close #20069
2017-11-01 15:41:27 -04:00
Shai Reznik
fcfb1544e8
docs(aio): changed confusing term ( #19762 )
...
Controller should be decorator I believe
PR Close #19762
2017-10-18 11:18:26 -07:00
Jesus Rodriguez
dfa0973563
docs(aio): update animations for CLI ( #19551 )
...
PR Close #19551
2017-10-10 13:47:35 -07:00
Ward Bell
0ea5f8b5ed
docs: add universal guide with production client app - with JK’s edits ( #18707 )
...
PR Close #18707
2017-10-09 14:46:04 -07:00
Ward Bell
555b1cdf29
docs: add universal guide with production client app ( #18707 )
...
Revises both universal and client build to use AOT and webpack for both.
Guide text adjusted accordingly
Dodges CLI client build, expected in near future.
PR Close #18707
2017-10-09 14:46:04 -07:00
Ward Bell
0b0d25fa33
docs: add universal guide ( #18707 )
...
- based on original effort in PR 17573
PR Close #18707
2017-10-09 14:46:04 -07:00
Daniel Karp
c80e02b881
docs(aio): document Custom Async validators
...
docs(aio): Custom Async validators edits
incorporating suggestions from kapunahelewong
2017-10-04 15:07:46 -07:00
Trotyl Yu
0f432994b8
docs(aio): document the special treatment of undefined
2017-10-04 12:40:12 -07:00
Adrien Crivelli
e3a4ecef35
docs(aio): Fix incorrect wording
2017-10-03 08:15:45 -07:00
Kapunahele Wong
334caf8e7c
docs(aio): add copy about NgForOf ( #18686 )
2017-09-27 15:25:41 -07:00
Kapunahele Wong
48c6ece2be
docs(aio): remove links to top of documents ( #16971 )
2017-09-27 13:45:25 -07:00
Kapunahele Wong
f7c7038171
docs(aio): update metadata documentation to include expression lowering ( #19203 )
2017-09-27 13:43:19 -07:00
George Kalpakas
ffceae0a01
refactor(aio): remove unnecessary `--` from yarn commands
2017-09-25 14:37:13 -07:00
Jesus Rodriguez
9bbf009dff
build(aio): change examples to CLI ( #19248 )
...
PR Close #19248
2017-09-21 17:05:54 -07:00
Chuck Jazdzewski
f96142cd7c
build: remove references to `tsc-wrapped` ( #19298 )
...
With this commit `ngc` is used instead of `tsc-wrapped` for
collecting metadata and tsickle rewriting and `tsc-wrapped`
is removed from the repository.
`@angular/tsc-wrapped@5` is now deprecated and is no longer
used, updated, or maintained as part as of Angular 5.x.x.
`@angular/tsc-wrapped@4` is still maintained and required by
Angular 4.x.x and will be maintained as long as 4.x.x is in
LTS.
PR Close #19298
2017-09-21 13:55:52 -07:00
Ward Bell
a5ee653da0
docs: update README and author guide about doc build errors ( #19276 )
...
- tells reader about `yarn serve-and-sync`.
- directs reader to look to docs-style-guide if get doc build error.
- update docs-style-guide to warn about ignored code files.
PR Close #19276
2017-09-20 12:35:31 -07:00
Ward Bell
5751865228
docs: animations - replace iterator with simple code style ( #18965 )
...
Replaces iterator facade over the HeroService because webpack threw up.
Also this was an obscure distraction for readers with no obvious benefits.
PR Close #18965
2017-09-19 17:03:09 -07:00
Olivier Combe
66a5dab85a
feat(compiler): deprecate i18n comments in favor of `ng-container` ( #18998 )
...
PR Close #18998
2017-09-05 15:33:29 -05:00
Brandon Roberts
53be85a7fb
docs(aio): Updated usage of Observables in router guide. Added section for advanced redirects ( #18197 )
...
PR Close #18197
2017-09-05 15:32:49 -05:00
Olivier Combe
3c4eef8a86
refactor(core): remove deprecated `OpaqueToken` ( #18971 )
...
BREAKING CHANGE: `OpaqueToken` has been removed as it was deprecated since v4. Use `InjectionToken` instead.
PR Close #18971
2017-09-01 16:29:47 -05:00
Olivier Combe
56238fe94e
feat(compiler): set `enableLegacyTemplate` to false by default ( #18756 )
...
BREAKING CHANGE: the compiler option `enableLegacyTemplate` is now disabled by default as the `<template>` element has been deprecated since v4. Use `<ng-template>` instead. The option `enableLegacyTemplate` and the `<template>` element will both be removed in Angular v6.
PR Close #18756
2017-08-31 18:38:34 -07:00
Victor Berchet
535c7bb60c
refactor: generate i18n files in common/locales ( #18907 )
...
PR Close #18907
2017-08-29 11:26:10 -05:00
FerhatE
3dc4115c8b
docs(aio): fix "Error handling" section in "HttpClient" ( #18821 )
...
Removed additional curly brackets to fix blocks. Also replaced tab with 2 spaces.
PR Close #18821
2017-08-22 15:56:12 -05:00
Olivier Combe
079d884b6c
feat(common): drop use of the Intl API to improve browser support ( #18284 )
...
BREAKING CHANGE: Because of multiple bugs and browser inconsistencies, we have dropped the intl api in favor of data exported from the Unicode Common Locale Data Repository (CLDR).
Unfortunately we had to change the i18n pipes (date, number, currency, percent) and there are some breaking changes.
1. I18n pipes
* Breaking change:
- By default Angular now only contains locale data for the language `en-US`, if you set the value of `LOCALE_ID` to another locale, you will have to import new locale data for this language because we don't use the intl API anymore.
* Features:
- you don't need to use the intl polyfill for Angular anymore.
- all i18n pipes now have an additional last parameter `locale` which allows you to use a specific locale instead of the one defined in the token `LOCALE_ID` (whose value is `en-US` by default).
- the new locale data extracted from CLDR are now available to developers as well and can be used through an API (which should be especially useful for library authors).
- you can still use the old pipes for now, but their names have been changed and they are no longer included in the `CommonModule`. To use them, you will have to import the `DeprecatedI18NPipesModule` after the `CommonModule` (the order is important):
```ts
import { NgModule } from '@angular/core';
import { CommonModule, DeprecatedI18NPipesModule } from '@angular/common';
@NgModule({
imports: [
CommonModule,
// import deprecated module after
DeprecatedI18NPipesModule
]
})
export class AppModule { }
```
Dont forget that you will still need to import the intl API polyfill if you want to use those deprecated pipes.
2. Date pipe
* Breaking changes:
- the predefined formats (`short`, `shortTime`, `shortDate`, `medium`, ...) now use the patterns given by CLDR (like it was in AngularJS) instead of the ones from the intl API. You might notice some changes, e.g. `shortDate` will be `8/15/17` instead of `8/15/2017` for `en-US`.
- the narrow version of eras is now `GGGGG` instead of `G`, the format `G` is now similar to `GG` and `GGG`.
- the narrow version of months is now `MMMMM` instead of `L`, the format `L` is now the short standalone version of months.
- the narrow version of the week day is now `EEEEE` instead of `E`, the format `E` is now similar to `EE` and `EEE`.
- the timezone `z` will now fallback to `O` and output `GMT+1` instead of the complete zone name (e.g. `Pacific Standard Time`), this is because the quantity of data required to have all the zone names in all of the existing locales is too big.
- the timezone `Z` will now output the ISO8601 basic format, e.g. `+0100`, you should now use `ZZZZ` to get `GMT+01:00`.
| Field type | Format | Example value | v4 | v5 |
|------------|---------------|-----------------------|----|---------------|
| Eras | Narrow | A for AD | G | GGGGG |
| Months | Narrow | S for September | L | MMMMM |
| Week day | Narrow | M for Monday | E | EEEEE |
| Timezone | Long location | Pacific Standard Time | z | Not available |
| Timezone | Long GMT | GMT+01:00 | Z | ZZZZ |
* Features
- new predefined formats `long`, `full`, `longTime`, `fullTime`.
- the format `yyy` is now supported, e.g. the year `52` will be `052` and the year `2017` will be `2017`.
- standalone months are now supported with the formats `L` to `LLLLL`.
- week of the year is now supported with the formats `w` and `ww`, e.g. weeks `5` and `05`.
- week of the month is now supported with the format `W`, e.g. week `3`.
- fractional seconds are now supported with the format `S` to `SSS`.
- day periods for AM/PM now supports additional formats `aa`, `aaa`, `aaaa` and `aaaaa`. The formats `a` to `aaa` are similar, while `aaaa` is the wide version if available (e.g. `ante meridiem` for `am`), or equivalent to `a` otherwise, and `aaaaa` is the narrow version (e.g. `a` for `am`).
- extra day periods are now supported with the formats `b` to `bbbbb` (and `B` to `BBBBB` for the standalone equivalents), e.g. `morning`, `noon`, `afternoon`, ....
- the short non-localized timezones are now available with the format `O` to `OOOO`. The formats `O` to `OOO` will output `GMT+1` while the format `OOOO` will be `GMT+01:00`.
- the ISO8601 basic time zones are now available with the formats `Z` to `ZZZZZ`. The formats `Z` to `ZZZ` will output `+0100`, while the format `ZZZZ` will be `GMT+01:00` and `ZZZZZ` will be `+01:00`.
* Bug fixes
- the date pipe will now work exactly the same across all browsers, which will fix a lot of bugs for safari and IE.
- eras can now be used on their own without the date, e.g. the format `GG` will be `AD` instead of `8 15, 2017 AD`.
3. Currency pipe
* Breaking change:
- the default value for `symbolDisplay` is now `symbol` instead of `code`. This means that by default you will see `$4.99` for `en-US` instead of `USD4.99` previously.
* Deprecation:
- the second parameter of the currency pipe (`symbolDisplay`) is no longer a boolean, it now takes the values `code`, `symbol` or `symbol-narrow`. A boolean value is still valid for now, but it is deprecated and it will print a warning message in the console.
* Features:
- you can now choose between `code`, `symbol` or `symbol-narrow` which gives you access to more options for some currencies (e.g. the canadian dollar with the code `CAD` has the symbol `CA$` and the symbol-narrow `$`).
4. Percent pipe
* Breaking change
- if you don't specify the number of digits to round to, the local format will be used (and it usually rounds numbers to 0 digits, instead of not rounding previously), e.g. `{{ 3.141592 | percent }}` will output `314%` for the locale `en-US` instead of `314.1592%` previously.
Fixes #10809 , #9524 , #7008 , #9324 , #7590 , #6724 , #3429 , #17576 , #17478 , #17319 , #17200 , #16838 , #16624 , #16625 , #16591 , #14131 , #12632 , #11376 , #11187
PR Close #18284
2017-08-22 15:43:58 -05:00
Olivier Combe
ec56760c9b
refactor(common): remove deprecated `NgFor` ( #18758 )
...
BREAKING CHANGE: `NgFor` has been removed as it was deprecated since v4. Use `NgForOf` instead. This does not impact the use of`*ngFor` in your templates.
PR Close #18758
2017-08-21 18:11:01 -05:00
Tea
7f4c964eef
docs(aio): typo in template-syntax guide ( #18765 )
...
PR Close #18765
2017-08-18 17:13:15 -05:00
Georgios Kalpakas
17b71ae382
docs(aio): move code snippet to appropriate location ( #18650 )
...
PR Close #18650
2017-08-18 13:23:09 -05:00
cexbrayat
5f5a8e1da6
docs(aio): typo in metadata guide ( #18730 )
...
PR Close #18730
2017-08-17 18:01:20 -05:00
ksvitkovsky
c65f18a2fa
docs(forms): fix reactive-forms guide typo
...
closes #17943
2017-08-15 16:42:58 -07:00
Ward Bell
697c6ed0fe
docs: remove TypeScript to JavaScript guide & sample
2017-08-15 16:31:31 -07:00
Kapunahele Wong
9320f34f19
docs(aio): add Metadata guide based on Chuck’s docs
...
Chuck’s gist
https://gist.github.com/chuckjaz/65dcc2fd5f4f5463e492ed0cb93bca60#file-Angular%20Metadata-md
Also chuck’s doc on metadata-related errors (link needed)
2017-08-15 12:14:57 -07:00
George Kalpakas
fd6ae571b8
fix(aio): add missing code snippet ( #18547 )
...
The snippet got lost some time during the migration from the old version (it is
[present in v2][1]).
[1]: https://v2.angular.io/docs/ts/latest/cookbook/aot-compiler.html#!#running-the-application
Fixes #18544
2017-08-09 14:20:25 -07:00
Kapunahele Wong
9b015a95eb
docs(aio): tech edits to form validation
...
closes #18495
2017-08-03 13:57:31 -07:00
Kara Erickson
939dc44391
docs(forms): update and re-organize validation guide
2017-08-03 13:56:53 -07:00
David Brooks
3923c30df0
docs(aio): fix missing anchor-open in i18n documentation ( #18476 )
...
The Internationalisation documentation, "Translate text nodes" section, has an incomplete
markdown anchor, and leaks markdown into the page. Fix the anchor by adding the opening bracket.
2017-08-02 15:56:01 -07:00
chumtoadafuq
a11542a375
docs(aio): fixed list format in FormArray section
2017-07-31 11:31:05 -07:00
Antoine Mary
416ed691e5
docs(aio): fix URLSearchParams interface link to MDN
...
Fixes #18367
2017-07-28 15:26:04 -07:00
Georgios Kalpakas
67f7032321
fix(aio): correctly process markdown link in "Browser Support" ( #18349 )
...
The markdown processor expects an empty line between an opening tag and the
markdown content. (If there is no empty line, the content is interpreted as
plain HTML.)
Previously, the line between the opening `<td>` and the content contained
whitespace, which caused the content to be interpreted as HTML and not markdown.
Fixes #18312
PR Close #18349
2017-07-26 16:07:26 -05:00
Kevin Cooper
8d2819121b
fix(aio): invalid formatting in architecure.md ( #18159 )
...
Introduced in e110a80caf (diff-9ac9c6a9277eea9856d75249a7c0a40aL127)
2017-07-20 09:48:02 -07:00
Stepan Suvorov
31cb418370
docs(aio): Fix http guide
2017-07-20 09:35:27 -07:00
Thanesh Rajandran
410f21c75c
docs(aio): fix typo in NgModule FAQs ( #18211 )
...
Fix #18133 . Fix typo 'added' to 'add' in the 'Why does lazy loading create a child injector' section.
2017-07-20 09:07:30 -07:00
Nicola Sanitate
9208f0beea
docs(aio): fix typo in Router documentation
...
Fix title and link to RouteConfigLoadEnd documentation
2017-07-19 15:01:50 +01:00
Scotty Waggoner
256bc8acdd
docs(http): Make name of injected HttpTestingController consistent
2017-07-18 10:35:56 -07:00
Jesse Palmer
3b588fe2b0
docs: fix typo
2017-07-18 10:11:55 -07:00
Alexey Toksarov
2a2fe11e8d
docs(aio): fix HttpClient setting new header sample
2017-07-18 10:02:27 -07:00
Peter Bacon Darwin
cdb069ab0e
docs(aio): fix cheatsheet layout for narrow screens
...
* Tell the app that this will have no Table of Contents, since we have no
h2 headings anyway.
* Remove all the `nbsp;` from the code since that doesn't help with layout
* Remove side padding from sidenav-content when screen is narrow
* Restyle the cheatsheet table when the screen is narrow
2017-07-18 17:32:43 +01:00
Peter Bacon Darwin
f054c8360b
docs(aio): fix up broken links
2017-07-18 11:45:05 +01:00
Kapunahele Wong
375d598a9f
docs(aio): add George's fixes
2017-07-17 14:49:19 -07:00
Kapunahele Wong
cd67fced1c
docs(aio): add npm install to Sublime instructions
2017-07-17 14:49:19 -07:00
Kapunahele Wong
a77cf7ee37
docs(aio): add Chuck's comments
2017-07-17 14:49:19 -07:00
Kapunahele Wong
2150b45954
docs(aio): add language service doc
2017-07-17 14:49:19 -07:00
WilliamKoza
9f99f4fae2
docs: fix HttpClient sample
2017-07-17 14:03:32 -07:00
Kasidit Iamthong
c6ad212a98
docs(aio): fix HttpClient's interceptor sample
2017-07-17 14:03:16 -07:00
Don Denton
47b3ecd9a3
docs(http): fix "Expecting and answering requests" example mistake
...
Possibly overlooked testing documentation mistake fixed:
- `http.get('/data')` probably ought to be paired with `httpMock.expectOne('/data')` instead of `httpMock.expectOne('/data')`.
2017-07-17 14:01:44 -07:00
WilliamKoza
8c81c62d46
docs: fix HttpClient logging's sample
2017-07-17 14:01:24 -07:00
Daniel Bunte
7e72317059
docs(http): fixed syntax error in AuthInterceptor example
2017-07-17 14:00:59 -07:00
Stefanie Fluin
95698d93ad
fix(aio): remove title from callout
2017-07-15 15:35:15 +01:00
Alex Rickabaugh
e0fa727594
fix(aio): document XSRF protection in HttpClient
2017-07-14 12:42:37 -07:00
cexbrayat
8e56c3cb30
docs: fix type error in HttpClient sample
2017-07-14 09:35:25 -07:00
Alex Rickabaugh
bc1ea8c54b
docs: rewrite 'Server Communication' doc guide to use HttpClient ( #18079 )
2017-07-13 15:22:07 -07:00
Kapunahele Wong
e110a80caf
docs(aio): change Angular Module to NgModule ( #16964 )
2017-07-11 15:05:20 -07:00
Sarah
20127c1456
docs: fix typos and grammar ( #17818 )
2017-07-11 13:00:53 -07:00
Trotyl Yu
bbf2133fa9
docs: update ECMAScript info ( #17801 )
2017-07-11 12:44:56 -07:00
Peter Bacon Darwin
b30c5fc874
docs(aio): fix dangling links
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
0e71836cd5
docs(aio): fix potential invalid jsdoc tag
2017-07-11 11:44:05 +01:00
Victor Berchet
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00
Victor Berchet
0ede642cb9
docs(aio): Update `NgStyle` and `NgClass` to use quoted keys
2017-07-07 16:17:33 -07:00
Shefali Sinha
92d7ecf627
docs: shefali edits to Authors Style Guide ( #17853 )
2017-07-05 14:33:06 -07:00
Jesus Rodriguez
dc88e0a881
docs(aio): update quickstart to latest cli
2017-07-03 08:25:19 +01:00
Artem Petrosian
f54a901b8d
docs(aio): fix visual-studio-2015 typo
...
This fixes #17283
2017-07-03 08:12:28 +01:00
Artem Petrosian
154154dde2
docs(aio): fix quickstart-cli bad HTML escape chars
2017-06-30 12:23:11 +01:00
Brandon Roberts
8d01db4638
docs: Updated router guide content and examples for paramMap
...
and queryParamMap, tracing, and incidental improvements.
closes #16991 and #16259 which it also fixes.
2017-06-29 09:35:39 -07:00
Ward Bell
96b17034e1
feat(aio): cross reference readme and docs styleguide
2017-06-29 09:35:04 -07:00
David Herges
97bb374218
fix(aio): Typo in Setup Anatomy documentation page
...
Solves #17076
2017-06-26 11:04:46 -07:00
swseverance
233044e337
docs(aio): fix typo
2017-06-26 11:04:32 -07:00
Victor Berchet
b754e600e3
feat(compiler): add support `::ng-deep`
...
- /deep/ is deprecated and being removed from Chrome
- >>> is semantically invalid in a stylesheet
- sass will no longer support either in any version of sass
-> use ::ng-deep in emulated shadow DOM mode
Because the deep combinator is deprecated in the CSS spec,
`/deep/`, `>>>` and `::ng-deep` are also deprecated in emulated shadow DOM mode
and will be removed in the future.
see https://www.chromestatus.com/features/6750456638341120
2017-06-23 14:43:42 -07:00
Alex Xu
eacc36bbd5
docs(aio): update Bash for Windows info
...
As of the Creator's Update, Bash on Ubuntu on Windows supports all npm commands.
https://blogs.msdn.microsoft.com/commandline/2017/04/11/windows-10-creators-update-whats-new-in-bashwsl-windows-console/
Update setup documentation accordingly.
2017-06-23 09:04:04 -07:00
Georgios Kalpakas
8b4acbbcbf
docs(aio): minor fixes for the upgrade guide
...
Fixes #17093
2017-06-23 09:03:28 -07:00
Kapunahele Wong
92bcfefc35
docs(aio): remove min, max & move built-in validators paragraph
2017-06-22 14:51:05 -07:00
Mark Amery
8c129d73b8
docs: Fix some non-code being formatted as code in the router docs
2017-06-22 14:38:55 -07:00
Ward Bell
37cdc4f759
docs(aio): ward's changes
2017-06-21 16:21:20 -07:00
Shefali Sinha
b1dab181e0
docs(aio): change to overall prose
2017-06-21 16:21:20 -07:00
Shefali Sinha
fd6c4e371b
docs(aio): create author style guide
2017-06-21 16:21:20 -07:00
Dan Lipsitt
d16852898f
docs(aio): fix numbered list in testing.md
...
This list renders OK in the github UI but not at https://angular.io/guide/testing#setup
2017-06-20 16:43:26 -07:00