Commit Graph

997 Commits

Author SHA1 Message Date
Jurgen Van de Moere 6b8cfc1291 docs(architecture): update wording (#3049) 2017-01-02 15:07:06 -08:00
Ward Bell 6c00203623 docs(setup): note that `npm start` fails in Bash for Windows (#3065) 2017-01-03 00:06:46 +01:00
Faraz Fazli 20a66c9d59 docs(ngmodule-faq): fix typo (#3062) 2017-01-02 13:52:03 -08:00
Filipe Silva 0f3d5810a8 chore(deps): remove reflect-metadata (#3058)
Blocked on https://github.com/angular/in-memory-web-api/pull/86

As per https://github.com/zloirock/core-js/issues/152, `core-js` already includes `reflect-metadata`.
2017-01-02 21:15:24 +00:00
Faraz Fazli 074a4f4abb docs(toh-5): fix typo (#3063) 2017-01-02 12:50:54 -08:00
Ward Bell ce174a26fb docs(router): chalin router copyedits #3054 (#3060)
* docs(router): chalin copyedits
* docs(router): bell copy edits + routing module order & inspect config
2017-01-01 00:25:52 -08:00
Jurgen Van de Moere f69ef4ac36 docs(ngmodule): fix typo (#3050) 2016-12-31 19:35:07 +01:00
Ward Bell f302146ccd docs(forms): ngSubmit is an output property of NgForm directive (#3056)
incorporates and closes PR #3040
2016-12-31 10:33:30 -08:00
Jurgen Van de Moere 9e02eddac5 docs(ngmodule-faq): fix typo (#3053) 2016-12-30 18:24:56 +01:00
John Paulino 8cab0ef007 docs(webpack): fix spelling error (#3030) 2016-12-23 23:47:07 +01:00
Naomi Black 7429150632 chore(version): bump the version for the 2.4 docs update 2016-12-22 20:06:34 -08:00
Patrice Chalin ec2b07ef8c docs(router): copyedits (#3025) 2016-12-21 23:20:21 -08:00
Ward Bell bc91b35bd9 docs(router): heavy copy edits (#3021) 2016-12-21 12:08:39 -08:00
Brandon 397c337378 docs(router): Added section for named outlets and secondary routes (#2842) 2016-12-20 15:26:09 -08:00
Patrice Chalin b47757a0fb docs(toh-5): wrap moduleId prose in Jade block (#3013) 2016-12-20 22:16:28 +00:00
Patrice Chalin b7bd82fa89 docs(quickstart): wrap plunker prose in Jade block (#3014) 2016-12-20 22:16:15 +00:00
Patrice Chalin 0dfd37e5a9 docs(security): hide TOC for Dart; other minor copyedits (#3017) 2016-12-20 22:14:58 +00:00
Brandon a74f8fb3b1 docs(router): Added wildcard route to live example (#2897) 2016-12-20 13:35:06 -08:00
Ward Bell c58317b885 docs(attribute-directives): remove "the the" 2016-12-19 20:22:38 -08:00
Ward Bell dee9bd1f84 docs(attribute-directives): clarify @Input and aliasing (#3007) 2016-12-19 17:12:42 -08:00
Patrice Chalin 5d89f90a3b docs(toh-5): clarify that class renaming should be local to file (#2996)
Fixes #2904
2016-12-16 22:49:56 +01:00
Patrice Chalin 5a4448335b docs(template-syntax): fix filename for code excerpt (#2995)
Main fix is to file name previously shown as `'HeroDetailComponent.ts`.
2016-12-16 22:23:20 +01:00
Patrice Chalin 36b40dedc2 docs(architecture): minor adjustments (#2994)
Minor adjustments, in particular, gets rid of custom styling in favor
of using plain markdown for pipe example. This fixes the layout for
some displays.

Followup to #2990
2016-12-16 19:32:48 +01:00
Ward Bell 0d6483c5a5 docs(quickstart): faster to setup and the learning path (#2946) 2016-12-15 11:53:45 -08:00
Patrice Chalin 562c629d22 docs(architecture): add Jade blocks for Dart, and other tweaks (#2990) 2016-12-15 10:17:13 -08:00
Ward Bell 5d7221c026 docs(toh-pt5): add instruc about adding `moduleId` to `AppComponent` (#2967) (#2985)
closes #2967.
2016-12-14 22:36:31 -08:00
Ward Bell 023ba1c75c docs(displaying-data): remind to import `Hero` class (#2975) (#2984) 2016-12-14 22:21:57 -08:00
Ward Bell 7af64a4f35 docs(http): use a class for default `RequestOptions` override (#2982)
John Papa pointed out that this makes user testing easier if you care about headers in those tests.
2016-12-14 20:35:29 -08:00
Kapunahele Wong 41833ed08a docs(i18n): copy edits to internationalization cookbook (#2980)
* docs(i18n): copy edits

* docs(i18n): copy edit to data.json

* docs(i18n): Ward requested copy edits
2016-12-14 15:53:09 -08:00
Ward Bell 9a3cbd611f docs(http): show how to override default `RequestOptions` like headers (#2978) 2016-12-14 13:30:25 -08:00
Patrice Chalin f0206cc957 docs(ts/_cache): misc sync (#2971)
* docs(toh-5): backport cache change to main jade file

* docs(ts/_cache): misc sync
2016-12-14 08:46:16 -08:00
Ward Bell 0bdda1d358 docs: convert AoT/JiT to approved spelling, AOT/JIT (#2969) 2016-12-13 21:17:51 -08:00
Ward Bell 9cf71d4b00 docs(http/toh-6): improve references to in-mem-web-api (#2964) 2016-12-13 02:18:07 -08:00
Ward Bell 5e3807615d docs(router): fix typo originally identified by PR #2945 (#2962) 2016-12-12 22:30:59 -08:00
Shai Reznik 2b1df0487d docs(router): fix a typo (#2958) 2016-12-12 21:57:19 -08:00
Shai Reznik 38b22eee62 docs(router): fix typo (#2959) 2016-12-12 21:56:48 -08:00
Chris Antaki 02f2818f2d docs(upgrade): fix a few typos (#2955) 2016-12-10 19:08:50 +01:00
Victor Berchet cf97326344 fix(router): fix Resolve docs and Resolve.resolve signature (#2954) 2016-12-09 05:56:14 -08:00
Patrice Chalin 50f5a80db1 docs(lifecycle-hooks): Dart sync with TS updates (#2952)
* initial cache sync

Also updating glossary since that was missed earlier.

* minor updates to Dart and TS jade

* final cache sync

* feedback from Ward
2016-12-08 16:48:02 -08:00
Patrice Chalin 0f64eb8535 docs: fix misc broken links for Dart (#2953) 2016-12-08 13:39:19 -08:00
Filipe Silva 1a5f4f4907 chore: update to 2.3.0 (#2942)
* chore: update to 2.3.0

* add 2.3.0 versions in package.json

* update _data.json

* update angular-in-memory-web-api
2016-12-08 00:10:39 +00:00
Patrice Chalin 9aececb65c docs: fix broken links (#2950) 2016-12-07 14:43:43 -08:00
Patrice Chalin cfaeea0622 docs(pipes/dart): improve FetchJsonPipe discussion (#2937)
Followup to #2923

```
Suites passed:
  public/docs/_examples/pipes/dart
```
2016-12-06 21:27:11 -08:00
Ward Bell cd80df8dc7 docs(testing): make the StubHeroDetailService a spy-stub (#2935) 2016-12-06 18:16:32 -08:00
Patrice Chalin 499d4b3c88 docs(toh-6/dart): getHero makes HTTP get-by-id (#2936)
Dart follow-up to #2906
2016-12-06 15:28:34 -08:00
Ward Bell 695df67929 docs(testing): simplify and accelerate path to Angular component testing (#2879)
Rob Wormald recognized that we had no plunker for a simple component test. Inspired improved learning path for testing including:
* Add plunkers for both inline and external template versions of  the simplest `BannerComponent`
* Added the banner-specs for that purpose and also a quickstart-specs in the setup folder
* Adjusted prose in testing and setup-systemjs-anatomy to call these out
* Moved testing of external template spec earlier in the guide because it is likely to be needed right away.
* Add comments on the optional "testing" folder and corrects var names to match
* Leaves Jasmine Spec Runner output visible when tests finish
2016-12-05 11:46:53 -08:00
Kevin Drouvin caec707ffa docs(style-guide): fix typo (#2927)
Fix a typo on the T-DRY section.
2016-12-05 10:59:39 -08:00
Yang Lin 339494c5ea Render * instead of list bullet (#2929) 2016-12-05 10:57:47 -08:00
Jesús Rodríguez 9fd3fa037d docs(i18n): add new features (#2740) 2016-12-02 17:25:31 -08:00
Kapunahele Wong 4a536732bc docs(renderer): remove renderer (#2925) 2016-12-02 16:54:27 -08:00
Ward Bell 93c78dae10 docs(pipes): improve FetchJsonPipe discussion (#2923) 2016-12-02 14:22:41 -08:00
Patrice Chalin 977492a290 docs(comp-styles): adjust TOC level (#2922) 2016-12-02 19:58:39 +01:00
Patrice Chalin 4a0c3d79b7 docs(api/cheatsheet): show ng version + lang in page header (#2918) 2016-12-01 19:47:58 +00:00
Patrice Chalin c7717b4850 docs(toh): fix code-example format and Dart code excerpt (#2907)
* ensure HeroesComponent renaming doesn't show router

* use code-example format consistent with the rest of the docs
2016-12-01 08:15:04 -08:00
Patrice Chalin 4fe2410e01 [Dart] docs(guide/index): exclude cookbooks from table 2016-12-01 08:13:55 -08:00
Ward Bell 1be698ca7f chore(testing): karma config files support multiple builtPaths (#2917)
* karma.config + karma-test-shim can handle multiple spec source paths;
  see quickstart issue: https://github.com/angular/quickstart/issues/294
* cosmetic `karma.config.js` changes
2016-11-30 15:26:27 -08:00
Patrice Chalin d9c1054ae6 docs(quickstart): tweak for Dart - don't suggest editing example
Until we have dartpad working, don't suggest editing the example.
2016-11-30 13:23:29 -08:00
Torgeir Helgevold 5b294e3c5b docs(cb-aot): add missing module.id to sample (#2908) 2016-11-29 23:52:20 -08:00
Ward Bell 1d5e7c30be docs(toh-6): getHero makes HTTP get-by-id request (#2906) 2016-11-29 15:41:15 -08:00
Ward Bell 79dc1f2dc8 chore: use common instructions for popping out plunker window-button (#2886)
To see the browser title or address bar changes.
Instructions are a little more complicated when the plunker is in embedded style
2016-11-28 21:23:28 -08:00
Rodrigo Quesada fd9a331127 Corrected RouterOutlet description (#2856)
<router-outlet> does not wrap the views, the views are inserted next to it, not within.
2016-11-28 13:37:06 -08:00
Yang Lin 87d65aeda0 Update ts-to-js.jade (#2888) 2016-11-28 13:36:03 -08:00
Kapunahele Wong d89a5ab9be docs(quickstart): copy edits (#2889) 2016-11-28 13:31:06 -08:00
Dustin Goodman 9ba0f34826 Add missing ` from styleguide rule (#2878) 2016-11-27 23:11:47 -08:00
ashishg-qburst 424645e1df docs: fix broken link on testing guide (#2887) 2016-11-27 23:09:58 -08:00
Ofer Zelig 0203a49bcf Typo (#2880)
docs(appmodule): "bootstrap's" typo
2016-11-27 13:50:41 -08:00
Patrice Chalin 0902940eeb docs(dependency-injection): updates to match TS; also minor TS fixes (#2875)
* cache file sync before making updates to Dart jade

* app.module.ts: fix ngmodule docregion

* [TS] dependency-injection.jade updates

* [Dart] dependency-injection.jade updates

* final ts/_cache file sync
2016-11-26 12:20:54 +00:00
gc cfce91142c docs(style-guide): fix file structure (#2873) 2016-11-25 21:51:51 +01:00
Patrice Chalin fb97653721 docs(toh-5/6): update Dart to match TS, with minor tweaks to TS (#2869)
* sync cache before making changes to Dart files

* docs(toh-5): updates for Dart and tweaks for TS

* final sync of toh cache files
2016-11-23 23:42:49 +00:00
Patrice Chalin f2c815f6d0 docs(glossary): update Dart to match TS, with minor tweaks to TS (#2868)
* sync cache before changes to Dart

* docs(glossary): Dart updates and TS tweaks

E.g., add AoT and JiT to Dart.

* final refresh of cache file
2016-11-23 23:20:53 +00:00
Patrice Chalin 692d751375 docs: quickstart reboot for Dart (#2867)
* cache/quickstart sync before making Dart edits

* quickstart updates for Dart

* cache/guide/index sync before making Dart edits

* guide/index updates for Dart

* learning-angular for Dart

* guide/setup for Dart

* refresh cache/tutorial/index
2016-11-23 17:58:21 +00:00
Jesús Rodríguez 7a651ed873 docs(setup): fix typo (#2864) 2016-11-23 13:37:09 +01:00
Naomi Black 57413af54c quickstart(copyedits): copyedits to the QS text for style 2016-11-22 17:44:34 -08:00
Naomi Black 9c298a5273 Merge pull request #2854 from IdeaBlade/quickstart-reboot-2
docs(quickstart) reboot 2
2016-11-22 15:09:12 -08:00
Jordan Frankfurt dde9969a42 docs(cookbook/dynamic_forms): fix a typo (#2857) 2016-11-22 22:49:05 +01:00
Ward Bell 434308ab1b docs(forms): revise prose for form.reset (#2853) 2016-11-21 18:23:28 -08:00
Ward Bell 5217f116d9 docs(quickstart): reboot - final review 2016-11-21 17:37:10 -08:00
Ward Bell ec2e6cb2c7 [WIP] docs(quickstart): QuickStart reboot (#2762) 2016-11-21 17:36:16 -08:00
Ward Bell a7525721c0 Revert "[WIP] docs(quickstart): QuickStart reboot (#2762)"
This reverts commit 8ccc33e6ff.
2016-11-21 17:29:00 -08:00
Ward Bell 8ccc33e6ff [WIP] docs(quickstart): QuickStart reboot (#2762) 2016-11-21 17:13:21 -08:00
Wenchen Li bcab06403c Fix #2066 (#2800) 2016-11-21 12:59:00 -08:00
Kapunahele Wong 694b58d06e [WIP] docs(user-input): Jessica's user input edits (#2683) 2016-11-21 12:17:39 -08:00
Patrice Chalin fc303c0697 docs(quickstart): recover definition of _quickstartSrcURL (#2849)
Supersedes #2847
Fixes #2838
2016-11-21 17:14:03 +00:00
Chris Sherman b64ec8275a docs(toh-pt5): fix typo (#2836) 2016-11-21 11:27:09 +01:00
Jesús Rodríguez 1303706542 chore: use tsconfig lib (#2840) 2016-11-20 17:28:37 -08:00
Patrice Chalin 448fd4f0b3 docs(quickstart): show qs files via code-tabs for Dart (#2839) 2016-11-20 15:33:08 -08:00
Patrice Chalin 79375cab3e docs(server-comm): fix path to heroes.json for Dart (#2837) 2016-11-20 21:35:00 +00:00
ashishg-qburst 8f7d5930cd docs: fix typo (#2824) 2016-11-18 22:30:50 -08:00
Patrice Chalin 2d3836c8c1 docs(cache): misc adjustments for Dart (#2830)
* docs(cache): misc adjustments for Dart

Dart cache adjustments:
- Add guide/index (it was being inherited directly from latest before).
- Add proper cache of `_quickstart_repo.jade` (it used to be just an
include).

Also:
- In `_quickstart_repo.jade` use variable set to URL of repo.
- Fix newly added link to Quickstart in guide/index.jade.

* dart/displaying-data: just use TS's _quickstart_repo
2016-11-18 22:55:21 +00:00
Ward Bell f915746262 Merge pull request #2831 from IdeaBlade/change-log-undeprecate-old-ngupgrade
docs(change-log): correct log for NgUpdate (not deprecated)
2016-11-18 14:44:48 -08:00
Ward Bell 79eaf75d93 docs(change-log): correct log for NgUpdate (not deprecated) 2016-11-18 14:22:17 -08:00
Patrice Chalin 0fa21c49ad docs(Dart): sync with TS version of quickstart (#2828)
* update cache

* docs(Dart): sync with TS version of quickstart

* sync cache with updates from previous commit
2016-11-18 21:23:38 +00:00
gramotei 1fe2083e10 docs(style-guide): fix typo (#2826) 2016-11-18 20:08:48 +01:00
Patrice Chalin 1c2d14a8b8 docs(guide & api): feedback/issue links for Dart should refer to Dart repos (#2821)
* docs(guide/index): feedback link to Dart repo for Dart

- Also added links to chapters mentioned in table.
- Other minor copyedits.

* docs(api): issue links should refer to Dart repo

* post-review updates

* add link to Advance and Guide chapters

* ensure that we can determine which language is active
2016-11-17 16:53:28 -08:00
Eric Jimenez e59cd9abc9 chore: remove deprecated `clear=` and use clear layout helpers (#2822)
* define clear layout helpers

* replace deprecated clear= with helper
2016-11-17 15:02:32 -08:00
Patrice Chalin f993315931 chore(dart): complete the renaming of "Angular 2" to "Angular" (#2820)
Contributes to #2407

- Dropped the “2” in “Angular 2” and “angular2_*” where appropriate.
- Did a partial sync of `_cache/guide/pipes.jade`
- In quickstart, changed `Try changing the message to "Hello Angular
2!”` to `Try changing the message to "Hello Again Angular!”`.
2016-11-17 14:10:28 -08:00
Kenny John Jacob 7febba6209 docs(router): fix missing anchor id (#2817)
The link *Importing from the router library* (https://angular.io/docs/ts/latest/guide/router.html#import) does not work.

I supposed that this was the corresponding section to be linked to.
2016-11-17 21:54:55 +01:00
Patrice Chalin 061e50fa06 docs: adjust page heading levels (#2813)
* docs: adjust page heading levels

Only the page TOC should be at heading level 1. All other headings
should start at level 2. This commit also removes duplicate headings,
in continuation of #2796.

(This fix is necessary to support an auto-TOC feature.)
2016-11-16 10:02:31 -08:00
Patrice Chalin e0aecb39d9 docs(struct-directives): update Dart cache (#2806)
Only minor prose edits in this PR. No net change in the generated HTML
for the TS side.
2016-11-15 15:38:02 -08:00
Patrice Chalin 0dfda08306 docs: in links use href=foo#bar not foo#!#bar (#2807) 2016-11-15 15:36:34 -08:00