Commit Graph

1859 Commits

Author SHA1 Message Date
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
Patrice Chalin 2717dfb62e chore(ci): adjust zone.js version for examples (#3015)
A partial followup to #3010
2016-12-20 20:17:24 +01:00
Filipe Silva 7fc08eb159 fix(ci): pin webdriver and zone versions (#3010) 2016-12-20 13:12:43 +00:00
Jesús Rodríguez 116c80a175 chore: update tsc-wrapped (#3006) 2016-12-20 13:56:35 +01: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
Ward Bell b7a9a4524f docs(toh): improve `getHeroesSlowly` in ToH-4/5 (#2443) (#2991) 2016-12-15 11:13:22 -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 437617d564 chore(http): added @Injectable to default-request-options. (#2983) 2016-12-14 20:58:55 -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
Ward Bell ad3d005a79 chore: update package.json to in-mem-web-api v.0.2.1 (#2981) 2016-12-14 20:07:52 -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 05cdd9aa8a chore: delete Dart _examples (#2976) 2016-12-14 13:16:13 -08:00
Patrice Chalin 6fd0a141ef chore: drop ts/_cache (#2974)
* chore: drop dart cache and link check scripts

* chore: delete ts/_cache

* chore(README): remove mention of ts/_cache

* chore: ignore ts/_cache files
2016-12-14 10:57:10 -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 0d5073e74b chore(plunker): substitute systemjs.config.extras.web.js for systemjs.config.extras.js (#2968)
Solves sudden problem with plunker not handling the non-plunker version
Also switch from `pluck` to `map` because `pluck` typing stopped working.
2016-12-13 20:57:47 -08:00
port 5ce171bd74 docs(http/toh-5): fix HeroesDetailComponent typo (#2965) 2016-12-13 10:45:25 -08:00
Patrice Chalin ea1521ed6c chore(examples): don't gitignore _examples/tsconfig.json (#2966)
Tweak to `.gitignore` so that only the `tsconfig.json` files in
subdirectories are ignored, not the one directly in this `_examples`
folder.

Also, add a package.json script definition for `http-server` for more
convenient access (w/o invoking tsc as is forced in the script
definition given in `_boilerplate/package.json`.
2016-12-13 18:36:32 +01: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 20f47aa600 chore(testing): correct typo in karma.conf builtPaths (#2963) 2016-12-13 01:36:03 -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
Ward Bell 1f97bcbd81 chore: update example package.json to use in-mem-web-api 0.2.0 (#2961)
This update ensures examples get "cold" observables from `Http` when using in-mem-web-api
2016-12-12 21:42:18 -08:00
Filipe Silva 979a2cd690 ci: update protractor (#2957) 2016-12-12 14:33:58 +00:00
Chris Antaki 02f2818f2d docs(upgrade): fix a few typos (#2955) 2016-12-10 19:08:50 +01:00
Patrice Chalin e469929123 docs: remove public/docs/dart (#2956)
* tutorial when back ported

* api when backported

* guide when backported

* quickstart, cheatsheet and glossary when backported

* remove Jekyll front matter from each back ported file

* backport Dart _util-fns.jade

* remove docs/dart

* gitignore docs/dart

* only include Dart in language menu if it exists

* README: remove mention of Dart
2016-12-09 20:05:58 +00: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 a4ecdd2be1 chore: pin TS version to 2.0 (#2949)
Fixes #2948
2016-12-07 14:26:25 -08:00
Patrice Chalin cd7b4d5188 docs(toh-5/dart): fix dashboard_component regions (#2947)
Fixes https://github.com/dart-lang/site-webdev/issues/203
2016-12-07 13:05:34 -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 af0ffa6f19 docs(ts->js): example tweaks for more consistent reading of JS (#2938) 2016-12-06 19:43:50 -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
Patrice Chalin bc416b8e0f chore: Dart image compressed (#2933) 2016-12-06 10:01:05 -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
Ward Bell b4e6fdd4e3 Revert "build(deps): update RxJs to 5.0.0-rc.4 (#2905)"
This reverts commit 533f1b5317.
2016-12-02 17:59:45 -08:00
Filipe Silva 533f1b5317 build(deps): update RxJs to 5.0.0-rc.4 (#2905) 2016-12-02 17:50:08 -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 dd1811fea5 docs(dart): hide style-guide and browser-support (#2921)
* docs(dart): hide style-guide

* docs(dart): hide browser-support
2016-12-02 16:55:58 +01:00
Kathy Walrath cd235ac340 docs(dart/setup): make Dart setup more Darty 2016-12-01 12:48:06 -08: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
Patrice Chalin ab988b4e22 Dart upgrade to 2.2.0
```
Suites passed:
  public/docs/_examples/architecture/dart
  public/docs/_examples/attribute-directives/dart
  public/docs/_examples/dependency-injection/dart
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/forms/dart
  public/docs/_examples/lifecycle-hooks/dart
  public/docs/_examples/pipes/dart
  public/docs/_examples/quickstart/dart
  public/docs/_examples/server-communication/dart
  public/docs/_examples/template-syntax/dart
  public/docs/_examples/toh-1/dart
  public/docs/_examples/toh-2/dart
  public/docs/_examples/toh-3/dart
  public/docs/_examples/toh-4/dart
  public/docs/_examples/toh-5/dart
  public/docs/_examples/toh-6/dart
  public/docs/_examples/user-input/dart
All tests passed

Elapsed time: 1355.134 seconds
```
2016-12-01 08:12:43 -08:00
Sergey Kryvets 18981f9e81 docs(webpack): fix for tsconfig.json provided in example (#2892)
* docs(webpack): fix for tsconfig.json provided in example

* docs(webpack): fix for tsconfig.json provided in example

* docs(webpack): fix for tsconfig.json provided in example
2016-12-01 12:28:49 +01: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 efcb906981 chore(cb-component-communication): tweak code/update TS version (#2900)
Simplify name-child component.
Update TS version in package.json and the web systemjs.configs
Inspired by issue #2881
2016-11-29 15:39:53 -08:00
Patrice Chalin 56e6513659 docs(dart): upgrade to 2.1.1 (#2893)
* update docs home banner

* update example and main repo pubspec.yaml files

* update shredder tests

(Not strictly necessary, but avoids tripping regex triggers when doing
updates.)
2016-11-29 09:36:19 -08:00
Patrice Chalin 6d1c468bac examples(toh-6/dart): support case where `_initialHeroes` is empty
Fixes https://github.com/angular-examples/toh-6/issues/2
2016-11-29 09:29:27 -08:00
Patrice Chalin 7dac7f8f6f docs(Dart): misc minor updates of a few cached .jade files 2016-11-29 09:28:06 -08:00
Ward Bell 350dadb63e docs(toh-6): fix hero.service per issue #2883 (#2899) 2016-11-29 00:14:52 -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 a4f0a32c3a examples(styles): remove duplicate items classes (#2877)
Supersedes #2872 but ensures that we don’t loose `.items li.selected`.
2016-11-26 17:18:22 +00:00
Patrice Chalin 891846f232 chore(gulp): selectively shred guide examples using --filter (#2876)
E.g., `gulp _shred-devguide-examples --filter=dep`

Also removed docs/README.md since it was reporting something that is no
longer true (we don’t commit `_fragments` anymore).
2016-11-26 14:03:01 +00: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
Patrice Chalin ad3fbada10 examples(toh-5, toh-6): fix Dart e2e (#2846) 2016-11-21 13:58:59 +01: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
Rex fea03ea097 Replace next() with emit() for EventEmitter<T> (#2812) 2016-11-18 22:29:57 -08:00
Filipe Silva 199d2096d6 chore: add new 2.2.0 entry points (#2810) 2016-11-18 22:28:24 -08:00
Patrice Chalin 2026e5026d docs: fix remaining broken links (#2832)
* docs: fix remaining broken links In particular, don’t show the language dropdown for the docs change-log page (since JS and Dart don’t have a change log). Together with #2830, this fixes #2150

* ignore invalid link from about bios
2016-11-18 21:24:35 -08:00
Ward Bell b3c65a9a93 docs(systemjs.web): auto-bootstrap option that creates its own AppModule and boots it. (#2833)
For specific plunkers, e.g. "QuickStart (reboot edition)" PR #2762, that shouldn't have AppModule or main.ts
Rescinds the automatic bootstrapping and exclusion of `main.ts` in #2786 and #2756
Only autoBootstraps when `window.autoBootstrap === true`.
2016-11-18 20:29:05 -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
Ward Bell ed3101a5e0 docs(systemjs.web): can create a default for missing AppModule.ts 2016-11-18 11:31:32 -08:00
gramotei 1fe2083e10 docs(style-guide): fix typo (#2826) 2016-11-18 20:08:48 +01:00
Patrice Chalin 7c8938a424 example(pipes): Dart e2e fix (#2825)
Match TS example and only bootstrap AppComponent.
2016-11-18 15:53:41 +00: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
Eric Jimenez bde8fe1478 remove grid fluid from dart api list (#2823) 2016-11-17 14:54:42 -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
Patrice Chalin d853a29fe0 examples(dart): demote some packages to dev_dependencies (#2818)
Fixes #2777
2016-11-17 13:47:51 -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
Patrice Chalin 64bce18ea7 e2e(dependency-injection): fix for Dart and simplification for TS
Fixes #2493

No need to dual boot `AppComponent` and `ProvidersComponent` only to
ensure that we could demo optional injection; instead just inject null
for the `@Optional` constructor parameter type.

No prose is affected by these changes.
2016-11-15 22:58:56 +00:00
Patrice Chalin 4a4144efe1 docs(tutorial): update Dart cache for toh intro (#2805) 2016-11-15 14:55:33 -08:00
Patrice Chalin f70ba97471 example(architecture/dart): drop currency pipe workaround (#2804)
Fixes #1898
2016-11-15 08:39:03 -08:00
Filipe Silva 2b286b33f6 deactivate bugged tests 2016-11-15 01:05:55 +00:00
Filipe Silva eb60bfe20e Squashed commit of the following:
commit 17c7e15467
Author: Filipe Silva <filipematossilva@gmail.com>
Date:   Mon Nov 14 23:11:37 2016 +0000

    chore: update to 2.2.0 (#2797)

commit 1e5facfb98
Merge: 5c4cc9a db0fac9
Author: Ward Bell <wardbell@hotmail.com>
Date:   Mon Nov 14 12:44:51 2016 -0800

    Merge pull request #2799 from IdeaBlade/docs-changelog-2.2.0

    chore(changelog): update docs changelog for Ng v.2.2.0

commit 5c4cc9a3c8
Merge: 43457e9 1afe5dc
Author: Ward Bell <wardbell@hotmail.com>
Date:   Mon Nov 14 12:43:09 2016 -0800

    docs(router): Updated usage of observables in router tutorial and developer guide (#2696)

    Moved route configuration into separate variable for consistency
    Added async pipe to handle subscriptions for list items

commit 43457e9765
Merge: a423a5a 2649647
Author: Jesús Rodríguez <Foxandxss@gmail.com>
Date:   Mon Nov 14 21:38:49 2016 +0100

    chore: add upgrade/static to API reference (#2755)

commit 1afe5dc97d
Author: Brandon Roberts <robertsbt@gmail.com>
Date:   Sat Oct 29 16:08:54 2016 -0500

    docs(router): Updated usage of observables in router tutorial and developer guide

    Moved route configuration into separate variable for consistency
    Added async pipe to handle subscriptions for list items

commit db0fac94c9
Author: Ward Bell <wardbell@hotmail.com>
Date:   Mon Nov 14 10:48:09 2016 -0800

    chore(changelog): update docs changelog for Ng v.2.2.0

commit a423a5abc7
Author: ikilled <ikilled@users.noreply.github.com>
Date:   Mon Nov 14 18:39:46 2016 +0000

    clicking on Books & Training sends user to Education (#2701)

    When user clicks in Books & Training item in footer the website should take them to Education section (anchor) in the middle of the page, not to the top where Development section is.

commit d63b1ccea3
Merge: f627706 8508140
Author: Ward Bell <wardbell@hotmail.com>
Date:   Mon Nov 14 10:35:48 2016 -0800

    docs(router): fixed verbiage about router-outlet (#2746)

commit f627706779
Author: Ward Bell <wardbell@hotmail.com>
Date:   Mon Nov 14 10:26:13 2016 -0800

    docs(cookbook-aot-compiler): improve Ahead-of-Time compilation cookbook (#2798)

    closes #2790

commit 75464d585c
Merge: 78e2584 02f5559
Author: Ward Bell <wardbell@hotmail.com>
Date:   Mon Nov 14 09:34:36 2016 -0800

    Merge pull request #2794 from IdeaBlade/chalin-guide-misc-fix-1113

    docs: guide/index misc Jade fixes

commit 78e25840b2
Merge: 182493f 85062c4
Author: Ward Bell <wardbell@hotmail.com>
Date:   Mon Nov 14 09:33:55 2016 -0800

    Merge pull request #2795 from IdeaBlade/chalin-util-js-getExampleName-1114

    chore(util.js): getExampleName - support optional .html suffix

commit 182493f877
Merge: 9e9666b 53f5538
Author: Ward Bell <wardbell@hotmail.com>
Date:   Mon Nov 14 09:28:40 2016 -0800

    feat(cb-ts-to-js): add es6 examples (#2606)

    * feat(cb-ts-to-js): add es6 examples
    update docshredder to shred .es6
    optimized focus gulp task
    convert imports and metadate sections
    add DI section
    add host and query metadata section
    add intro
    fix capitalization and grammar

    * docs(ts-to-js): ward's edits (incomplete)

    * docs(ts-to-js): add separate template files for some components

    * docs(cb-ts-to-js): refactor sample code

commit 53f5538859
Author: Ward Bell <wardbell@hotmail.com>
Date:   Sun Nov 13 14:09:28 2016 -0800

    docs(cb-ts-to-js): refactor sample code

commit 9e9666b2cc
Author: Patrice Chalin <chalin@users.noreply.github.com>
Date:   Mon Nov 14 08:34:10 2016 -0800

    docs(template-syntax/dart): updates to match TS (#2751)

    * docs(template-syntax): refresh _cache

    * docs(template-syntax/dart): updates to match TS

    - Propagates TS-side changes:
      - update #2639 - new two-way binding section, and
      - fix #2687 - invalid attr syntax
    - Fixes
      - #1898 - currency symbols
      - #2748 - Dart template-syntax e2e is failing
      - #2749 - deprecated `[className]`

    * updated _cache file following Kathy's post-review edits

    * Post Ward's review w/ cache updated

    - Keep `my-` and `my` prefixes on selectors (for components and
    directives, respectively).
    - Drop `my-` from file names.
    - Drop `My` as component class prefix.

commit 5dcffd69dc
Author: Patrice Chalin <pchalin@gmail.com>
Date:   Sun Nov 13 19:37:13 2016 -0800

    docs: dart glossary - fix misnamed Jade block

commit 6680acc513
Merge: 14db838 3b03573
Author: Kathy Walrath <kathyw@google.com>
Date:   Mon Nov 14 08:31:11 2016 -0800

    docs(toh): avoid dup header title (#2796)

    * remove redundant headings

    * update _cache

    * misc: make block comment a Jade comment

    (This prevents the text from appearing in the generated HTML as an HTML
    comment.)

commit 3b03573f34
Author: Patrice Chalin <pchalin@gmail.com>
Date:   Mon Nov 14 05:30:05 2016 -0800

    misc: make block comment a Jade comment

    (This prevents the text from appearing in the generated HTML as an HTML
    comment.)

commit 470426d5e0
Author: Patrice Chalin <pchalin@gmail.com>
Date:   Mon Nov 14 05:25:36 2016 -0800

    update _cache

commit c12d75a477
Author: Patrice Chalin <pchalin@gmail.com>
Date:   Mon Nov 14 05:23:35 2016 -0800

    remove redundant headings

commit 85062c47ca
Author: Patrice Chalin <pchalin@gmail.com>
Date:   Mon Nov 14 04:56:12 2016 -0800

    chore(util.js): getExampleName - support optional .html suffix

commit 02f55592b2
Author: Patrice Chalin <pchalin@gmail.com>
Date:   Mon Nov 14 04:29:17 2016 -0800

    docs: guide/index misc Jade fixes

    - Eliminate use of deprecated `clear=“all”` in `<br>`.
    - No need for local `langName`; use global `_Lang` var instead.
    - Remove duplicate id `learning-path`.

commit 14db838f8b
Author: Naomi Black <naomitraveller@gmail.com>
Date:   Sun Nov 13 21:48:52 2016 -0500

    news(nov): Some news and a blog post update

commit eff32ecbdd
Author: Naomi Black <naomitraveller@gmail.com>
Date:   Sun Nov 13 21:48:37 2016 -0500

    chore(bios): update some bios for leads

commit 3ee36fbba2
Author: koyner <markburrett@gmail.com>
Date:   Sun Nov 13 22:59:59 2016 +0100

    docs(forms): grammar fix (#2764)

commit b11438f211
Author: Ward Bell <wardbell@hotmail.com>
Date:   Fri Nov 11 19:44:00 2016 -0800

    docs(ts-to-js): add separate template files for some components

commit 33b61977b2
Author: Ward Bell <wardbell@hotmail.com>
Date:   Thu Nov 3 01:37:55 2016 -0700

    docs(ts-to-js): ward's edits (incomplete)

commit 12eb19fa3c
Author: Filipe Silva <filipematossilva@gmail.com>
Date:   Thu Oct 13 17:59:00 2016 +0100

    feat(cb-ts-to-js): add es6 examples
    update docshredder to shred .es6
    optimized focus gulp task
    convert imports and metadate sections
    add DI section
    add host and query metadata section
    add intro
    fix capitalization and grammar

commit 64a8754386
Author: Patrice Chalin <chalin@users.noreply.github.com>
Date:   Thu Nov 10 20:01:36 2016 -0800

    example(template-syntax): follow style-guide and other updates (#2750)

commit 7619cdf4a4
Author: Jesús Rodríguez <Foxandxss@gmail.com>
Date:   Thu Nov 10 23:47:30 2016 +0100

    chore: ability to open a plunker on a specific file (#2778)

commit 0161d9db39
Author: Filipe Silva <filipematossilva@gmail.com>
Date:   Thu Nov 10 22:45:22 2016 +0000

    chore: ignore debug.log file (#2785)

    This file is generated when running `gulp e2e` and often enough committed by mistake.

    /cc @foxandxss

commit f92983cc6f
Author: Jesús Rodríguez <Foxandxss@gmail.com>
Date:   Thu Nov 10 23:44:51 2016 +0100

    docs(ngmodule): fix plunkers (#2786)

commit 03db4bbc48
Author: Martin Eckardt <m.eckardt@outlook.com>
Date:   Wed Nov 9 17:43:40 2016 +0100

    docs(a1-a2): fix link to Filter/Pipes (#2770)

commit 60565a5cf1
Author: Pavol Pitonak <pavol@pitonak.com>
Date:   Wed Nov 9 17:42:57 2016 +0100

    docs(testing): configureTestModule -> configureTestingModule (#2767)

commit ec471974a7
Author: Catalin Zalog <xxxxxcata@yahoo.com>
Date:   Wed Nov 9 18:41:56 2016 +0200

    docs(style-guide): fix missing *.ts (#2763)

commit 234e468d5d
Author: Patrice Chalin <pchalin@gmail.com>
Date:   Tue Nov 8 08:21:02 2016 -0800

    docs: intra-site links should be relative

    Contributes to #2772.

commit 6b37da78e4
Author: Patrice Chalin <pchalin@gmail.com>
Date:   Tue Nov 8 09:27:10 2016 -0800

    docs(forms/dart): remove mention of FORM_DIRECTIVES

    Fixes #2752

commit c24dd074a6
Author: Patrice Chalin <chalin@users.noreply.github.com>
Date:   Tue Nov 8 14:48:03 2016 -0800

    docs(toh-5/dart): use routerLink in dashboard (#2744)

    * docs(toh-5/dart): use routerLink in dashboard

    * minor edits to TS jade

    * remove dart/toh-pt5 from bad-code-excerpt-skip-patterns

commit 2808878c36
Author: Patrice Chalin <pchalin@gmail.com>
Date:   Tue Nov 8 07:41:27 2016 -0800

    chore(deploy): don't name project in firebase deploy

    Naming the project would sometimes cause gulp to report `An unexpected
    error has occurred` with exit code 2.

commit 2649647ecb
Author: Jesus Rodriguez <Foxandxss@gmail.com>
Date:   Sat Nov 5 00:37:47 2016 +0100

    chore: add upgrade/static to API reference

commit 850814097f
Merge: 37f93bc b1c2c27
Author: Adrian Irwin <mr.irwin@gmail.com>
Date:   Thu Nov 3 17:27:43 2016 -0700

    Merge branch 'router' of https://github.com/adrianirwin/angular.io into router

commit 37f93bc0cb
Author: Adrian Irwin <mr.irwin@gmail.com>
Date:   Thu Nov 3 17:25:55 2016 -0700

    docs(router): fixed verbiage and example of how routed views are related to the router outlet

commit b1c2c27d36
Author: Adrian Irwin <adrianirwin@kpmg.com>
Date:   Thu Nov 3 16:57:56 2016 -0700

    docs(router): fixed verbiage and example of how routed views are related to the router outlet
2016-11-15 00:44:35 +00:00
Filipe Silva 5fa0b69066 use 2.2.0 versions instead of rc0 2016-11-14 19:07:59 +00:00
Filipe Silva b87a0ea9be elaborate upgraded component alert 2016-11-14 19:07:06 +00:00
Filipe Silva 84ca050416 change let to const in bootstrap 2016-11-14 19:02:54 +00:00
Filipe Silva 04b88d5534 remove wip aot changes from test run 2016-11-14 19:02:09 +00:00
Filipe Silva b0c4422a97 add aot (WIP) 2016-11-14 17:07:39 +00:00
Filipe Silva 0d74c9332f update systemjs.config.js to have @angular/upgrade/static by default 2016-11-12 22:38:14 +00:00
Filipe Silva 59c9a6f3bc update e2e prose 2016-11-12 22:21:35 +00:00
Filipe Silva 0985055d2f update phonecat-final prose 2016-11-12 22:09:23 +00:00
Filipe Silva 8f23969bc5 update phonecat-hybrid service and components 2016-11-12 21:55:20 +00:00
Filipe Silva 654f6cf2a2 update phonecat-hybrid bootstrap prose 2016-11-12 21:16:22 +00:00
Filipe Silva 1d81dad708 remove unused imports in protractor-helpers 2016-11-12 20:35:10 +00:00
Filipe Silva 4ac5e60522 improve angular1 type declaration in hybrid apps 2016-11-12 16:06:02 +00:00
Filipe Silva 8e27ff9162 rename upgrade-adapter example to upgrade-module 2016-11-12 15:31:40 +00:00
Filipe Silva 37b57fa9bb update upgrade-adapter's prose 2016-11-12 15:27:51 +00:00
Filipe Silva 1af3570910 update upgrade-phonecat-2-hybrid 2016-11-12 11:26:12 +00:00
Filipe Silva b342d24ef3 add typing to UpgradeModule DI 2016-11-12 11:00:00 +00:00
Filipe Silva e710481076 fix missing systemjs.config.extras 2016-11-10 17:42:29 +00:00
Filipe Silva 16c1837feb change HeroDetailComponent to HeroDetailDirective 2016-11-10 15:27:45 +00:00
Filipe Silva c7487be4a2 re-enable upgrade-adapter tests 2016-11-10 15:27:42 +00:00
Filipe Silva c3b9cb3a03 cleanup upgrade-adapter e2e test 2016-11-10 14:58:14 +00:00
Filipe Silva 03d877dcee update 2-to-1-providers 2016-11-10 14:33:58 +00:00
Filipe Silva 2bd3a6e0d1 update 1-to-2-providers 2016-11-10 14:27:46 +00:00
Filipe Silva f63649ae45 update 2-to-1-transclusion 2016-11-10 14:04:35 +00:00
Filipe Silva 476ccf0001 update 1-to-2-projection 2016-11-10 13:57:45 +00:00
Filipe Silva 71cd604f55 update downgrade-io 2016-11-10 12:34:31 +00:00
Filipe Silva e4bb6ce3cc update downgrade-static 2016-11-10 12:24:20 +00:00
Filipe Silva 2117d40de3 update upgrade-io example 2016-11-10 12:04:19 +00:00
Filipe Silva f958661afe update upgrade-static 2016-11-09 19:33:57 +00:00
Filipe Silva 455f2f6896 add systemjs config extras to all indexes 2016-11-09 18:25:04 +00:00
Filipe Silva 89a9529672 remove shared adapter example 2016-11-09 18:23:01 +00:00
Filipe Silva e990594b6d convert 1-2-hybrid-bootstrap to upgrade/static 2016-11-09 18:12:15 +00:00
Filipe Silva b0ca4f5040 revert change to browser.ignoreSynchronization 2016-11-09 17:21:22 +00:00
Filipe Silva e9469e55f2 use 2.2.0-rc.0 2016-11-09 14:45:23 +00:00
Filipe Silva 6e5b8a458f add hybrid toggle switch to helpers 2016-11-09 14:23:59 +00:00
Filipe Silva cb3d3b34c4 re-enable upgrade-phonecat-2 tests 2016-11-08 17:47:39 +00:00
Filipe Silva 2b235fbe65 re-enable upgrade-adapter and upgrade-phonecat-1 tests 2016-11-08 17:31:02 +00:00
Patrice Chalin 5e79a1a2b5 chore: fix broken links and transform API links for dart docs
- Dart non-api doc pages w/ links to API entries will now have those
links translated from a TS API reference URL to a Dart API reference
URL.
- Created and ran a link checker to verify that all such links to API
entries refer to Dart.
- Fixed links to pages that have moved:
 - JS & Dart: `i18n` is under now `cookbook` not `guide`
 - Dart: testing page is now directly under guide.

Contributes to #1895
Fixes #2273
2016-11-07 13:24:20 -08:00
Ward Bell a46cba06f0 docs(quickstart): app says "Hello Angular!" instead of "My first..." (#2760) 2016-11-05 13:12:11 -07:00
Ward Bell 8fafa8a01e docs(plunkers): prepare plunkers for the quickstart reboot (#2759)
* plunker builder removes files and scripts not needed in plunkers (e.g., systemjs.config.js)
* no longer adds placeholder README.md (deemed a distraction)
* tag is now "Angular" instead of "Angular2"
* new plnkr.json "includeSystemConfig" option adds systemjs.config.js back; needed for testing plnkrs.
* incidentally changes comment "Polyfill(s)" to "Polyfills" in all index.html
2016-11-05 12:53:47 -07:00
Ward Bell 74ef87feac docs: systemjs.config.plunker -> systemjs.config.web w/ auto-bootstrap (#2756)
see PR #2756
2016-11-04 21:59:51 -07:00
Benjamin Dopplinger 83faca0f94 docs(dart): remove unnecessary directives import (#2282) 2016-11-04 09:46:36 -07:00
Patrice Chalin 40c646eced chore: remove unnecessary bad-code-excerpt-skip-patterns (#2745)
* chore: remove unnecessary bad-code-excerpt-skip-patterns

* chore(ts/style-guide): fix BAD FILENAME in code-tabs
2016-11-04 14:40:21 +00:00
Ward Bell fa99a8b0b2 docs(toh-5): dashboard uses [routerLink] bindings #998 (#2718)
* docs(toh-5): dashboard uses [routerLink] bindings #998
closes #998

* chore: temp add toh-5 to bad-code-excerpt-skip-patterns.txt
2016-11-03 10:25:01 -07:00
Ward Bell ae35f0e017 docs(lifecycle-hooks): `SimpleChange` -> `SimpleChanges` #2741 (#2742) 2016-11-02 21:50:38 -07:00
cam73 35d8695752 Removes duplication of head tag in example (#2648) 2016-11-02 15:46:29 -07:00
Filipe Silva f837330eaf chore: remove inner editorconfig (#2736) 2016-11-02 14:49:51 +01:00
Alex Wolfe c6cec50a0a updates to improve search results in Swiftype 2016-11-01 13:40:25 -07:00
Ward Bell 8a3d061305 docs(router): fix grammar typo in preloader section (#2700)
tweaks some other related language.
2016-10-31 01:17:27 -07:00
Aristeidis Bampakos 32f3ed973d docs(router): Fix typos (#2666) 2016-10-31 00:55:08 -07:00
katerberg db1df77571 Fixes typo in Router tutorial (#2688) 2016-10-31 00:49:14 -07:00
WilliamKoza 43c9071a2e docs(cookbook): fix spelling error for word 'class' (#2682) 2016-10-31 00:48:22 -07:00
Ward Bell e9d78133e1 docs(testing): revert to jasmine v.2.4.1 (#2697)
Bug in Jasmine v.2.5.x.  Stick with v.2.4.1 (as karma-jasmine does) until the following issue is resolved:
https://github.com/jasmine/jasmine/issues/1231

Unfortunately, there is no `@types/jasmine` for v.2.4 but only for v.2.5.
2016-10-29 23:53:21 -07:00
Ward Bell 7e5f5a25ad docs(testing): fix `base` setting in karma shims (#2694) 2016-10-29 19:37:27 -07:00
Jesús Rodríguez 323becee32 chore: remove bootstrap package (#2691) 2016-10-29 10:44:57 -07:00
Ward Bell 48cd008749 docs(testing): 'testingService' -> 'twainService' plus clarity (#2692) 2016-10-28 12:40:43 -07:00
Filipe Silva c426e57818 fix(e2e): remove invalid syntax usage (#2687) 2016-10-28 01:08:43 +01:00
Filipe Silva 44bbc7776a fix(e2e): fix travis e2e (#2684)
See angular/webdriver-manager#121
2016-10-27 15:25:09 +01:00
Deborah Kurata 7d142c1d78 docs(vs2015): update for current tools. (#2672)
closes #2672
2016-10-26 09:26:40 -07:00
Steven 2408bb149a fix for #2667 (#2668)
ported changes made here 541bdc5f63
2016-10-26 08:31:29 -07:00
Patrice Chalin 197be09785 chore(dart): update to 2.0.0 (#2680) 2016-10-26 16:36:21 +02:00
Kathy Walrath e9d40ab2d7 Update most visible AngularDart pages to 2.0 2016-10-26 14:43:53 +02:00
Patrice Chalin b1917b800f chore: remove deprecated liveExample mixins (#2670)
`+liveExample` mixins were replaced by `<live-example>` directives a
while ago. This cleanup fixes link issues to the plunker under ng2.io.
2016-10-25 20:26:13 +01:00
Jesús Rodríguez b58e51a038 docs(router): broken link to DI chapter (#2662) 2016-10-25 19:52:44 +02:00
Patrice Chalin cfa7ec76f8 example(dart/toh-5): add extra region for use in API docs (#2664) 2016-10-24 22:33:37 +02:00
Ward Bell ea7dff4d89 docs(security): improve xsrf description and add it to http chapter as well (#2652) 2016-10-24 02:57:19 -07:00
Samuel Marks c746c732aa Typo fix (#2657)
Technically 'nestled' still makes sense in this context, but is a little too Christmas-y! - I assume you meant 'nested' :P
2016-10-23 00:52:12 -07:00
Ward Bell c5a1b3f42a chore(tsconfig): add compileOnSave (#2658) 2016-10-23 00:51:03 -07:00