Commit Graph

755 Commits

Author SHA1 Message Date
AlexanderLukin 1d4e000079 Fix a link: remove extra # in href value (#3276) 2017-02-19 20:58:15 -10:00
AlexanderLukin c08c281204 docs(testing): fix typo in `beforeEach` Jasmine method name (#3275) 2017-02-18 19:49:10 +01:00
Ward Bell acfd22c96b docs(testing): fix hero-detail impl and use done for observable tests (#3270) 2017-02-17 18:19:44 -08:00
Kapunahele Wong bdac5ca6b0 docs(reactive-forms): improve example styles and explain template syn… (#3263)
improve example styles and explain template syntax change;
fix one missed el in the example
2017-02-17 10:46:42 -08:00
Shai Reznik eb65de1d8b docs(reactive-forms): fix broken links (#3256)
fixed #3255
2017-02-16 15:06:59 +01:00
Juri Strumpflohner cdf9e3bc61 docs(di): fix broken link to ngmodules faq (#3252) 2017-02-16 00:03:41 +01:00
Dmytro Yarmak 1f20310ed3 docs(upgrade): Fix typos in AngularJS versions (1.5 and 1.x) (#3239) 2017-02-14 11:58:32 -08:00
Ward Bell 343b03a894 docs(hierarchical-di): clarify that component injector may be a proxy (#3248)
closes #3242 and #3246
2017-02-13 15:37:31 -08:00
Ward Bell 6924bce384 docs(template-syntax): remove notes for Ward (#3247) 2017-02-14 00:09:11 +01:00
Josh Schneider 87674d966d Update template-syntax.jade (#3226)
docs(Template Syntax): remove one of the callouts to author and other fixes
2017-02-13 12:25:34 -08:00
Filipe Silva 7decccfe1b docs(upgrade): update NgUpgrade with AoT, router, unit tests (#2803)
Followup from #2781
2017-02-13 16:45:37 +00:00
William KOZA d0ab5f8f0b docs(reactive-forms): fix broken link API (#3224) 2017-02-13 15:12:59 +01:00
DumpOfTheVar 223854fcd1 docs(attribute-directives): fix typo (#3193)
Change `Import` to `Input` which is used in the example
```
import { Directive, ElementRef, HostListener, Input } from '@angular/core';
```
2017-02-08 22:02:18 +01:00
Appie 8e2c3d3d99 docs(router): add missing backstick (#3211) 2017-02-08 21:04:59 +01:00
Appie 88da94e1f4 docs(router): add missing backstick (#3210) 2017-02-08 21:04:04 +01:00
David Klingenberg a4498ebe40 chore: fix i18n link in changelog (#3209) 2017-02-08 21:01:18 +01:00
Deborah Kurata d35dab25cc docs(router): fix misspelling (#3212) 2017-02-07 20:52:25 +01:00
Ward Bell f24b830c8a docs(template-syntax/structural-directives): refresh both guides for style, accuracy, understanding (#3110)
Move details of structural directives from template-syntax to structural-directives guide
Add <ng-container> to structural-directives
Fix samples in both guides
Touch up glossary
Better conformance to google doc guidelines: we->you
closes #2303, #2885
2017-02-06 19:06:13 -08:00
Josh Schneider 390e28080c docs(di): fix AppModule providers in dependency-injection.jade (#3206)
"Here's our AppModule where we register a `Logger`, a `UserService`, and an `APP_CONFIG` provider." No Logger appears to be registered in the source code.
2017-02-06 19:03:30 -08:00
Josh Schneider 905733593b docs (router): fix type in router.jade (#3205)
Fix "Since the admin dashboard RouterLink is an empty path route in the AdminModule," ... "AdminModule" s/b "AdminComponent," AFICT.
2017-02-06 18:59:21 -08:00
Ward Bell b2f4148472 chore(quickstart): restore app.module and main (#3166)
We seemed to create more confusion by omitting app.module (and main) in QS than we gained in simplicity of QS
Every other example requires these files.
This PR restores them to QS _but doesn't talk about them_ in QS, leaving _that_ to the Setup guide.
2017-02-06 18:35:49 -08:00
Kanstantsin Klimashevich eb372a9b39 docs(router): fix Router.forRoot -> RouterModule.forRoot (#3172) 2017-02-05 23:25:05 +01:00
Jonathan Persson 747807e250 docs(upgrade): add missing word (#3125) 2017-02-03 18:25:13 +01:00
Josh Schneider b021012a9b Fix typo in router.jade (#3183) 2017-02-02 17:43:48 -08:00
Jonas Felix 0713f35653 docs(pipes): typo in pure pipe chapter - "is is" - "it is" (#3180) 2017-02-02 13:14:54 -08:00
Filipe Silva 1101f07ef2 refactor: add src folder (#3171)
* boilerplate, gulpfile, quickstart

* move ts files up to cookbooks

* move rest of ts files

* fix tsconfig, default build task, json file

* fix js examples

* fix webpack example

* remove a2docs.css references

* fix aot examples

* fix webpack run task

* fix cb-i18n

* fix upgrade examples

* fix unit tests

* fix comment in deployment index

* removed unused typings.json

* fix plunkers

* fix js example paths

* fix ts quickstart/setup prose

* add src folder note to setup

* broadly replace app/ -> src/app/

* broadly replace main.ts

* broadly replaced index.html

* broadly replace tsconfig

* replace systemjs

* fix filetrees

* Minor prose fixes to aot, i18n cookbooks

* remove char harp was complaining about

* update new reactive forms example

* fix quickstart jade error

* fix mistakes uncovered by CI

* fix bad filename errors

* edit style guide 04-06 rule to use src

* add changelog

* Incorporate Jesus's feedback

* fix snippet headers in toh1/2

* chore: tweak changelog and setup text
2017-02-02 19:38:17 +01:00
Shai Reznik a7f2b644ea Changed the wording to reflect new location (#3177) 2017-02-01 21:34:04 -08:00
Charles Park 46363d18d6 docs: fix typos (#3155) 2017-02-01 22:58:04 +01:00
Kapunahele Wong 452c16dce2 docs(reactive-forms): add reactive forms guide (#2835) 2017-01-31 17:36:32 -08:00
Ward Bell 14626ead64 docs(change-log): mention new Deployment guide (#3175) 2017-01-31 12:20:48 -08:00
Rasmus Reimer 5c19f174f1 docs(upgrade): rename Angular 2 to Angular (#3169) 2017-01-31 14:42:47 +01:00
Filipe Silva 03ecf92a88 docs(deployment): fix links to enableProdMode (#25) (#3168) 2017-01-30 20:46:30 +00:00
Pieter Coucke e5a25eb236 chore(style-guide): update anchor (#3147)
Correct anchor link to "Application structure and Angular modules".
2017-01-30 20:53:50 +01:00
Filipe Silva 40e47d4650 docs(deployment): fix links to aot cookbook (#3165) 2017-01-30 18:00:34 +01:00
Theo Meneau 8728e4963c docs(deployment): fix broken deployment nav link and ordering (#3156) 2017-01-30 13:59:02 +00:00
Ilya Shabanov ab66d58f67 docs(style-guide): fix typo (#3113) 2017-01-26 22:57:20 -08:00
Lukas Ruebbelke 039caf36d6 docs(style-guide): fix typo (#3120) 2017-01-26 22:56:51 -08:00
Filipe Silva 8a537b1225 feat(deployment): add deployment chapter (#3043)
This PR adds the Deployment Chapter.
2017-01-27 00:40:10 +00:00
Patrice Chalin 806c658253 docs(forms): copyedits (#3149)
* - Copyedits, some from Kathy (from an early revision of the forms page).
- Removed side note detailing ngModel; now referring reader to
template-syntax page instead.

* post-review edits
2017-01-26 22:15:35 +00:00
Patrice Chalin b793d1d531 docs(router): copyedits and moved code excerpt earlier (#3133)
- Copyedits
- Link directly to APP_BASE_HREF API entry, no need for a callout.
- Put dragon-anchor routerLink example *before* the detailed bulleted
list that analyzes it.
2017-01-26 22:12:18 +00:00
Attila Pápai 0ecac4ec9e fixed x event binding typo (#3150) 2017-01-26 13:34:09 -08:00
Jesús Rodríguez 7a4cfa0630 chore: few leftovers from Angular brand rename (#3148) 2017-01-26 18:15:30 +01:00
Jesús Rodríguez b968cabe34 chore: rename files in ngUpgrade (#3146) 2017-01-26 15:24:10 +01:00
Ward Bell de4903be56 chore: Angular 1 -> AngularJS / Angular 2 -> Angular (#3143)
* chore: Angular 1 -> AngularJS / Angular 2 -> Angular

* Jesus' tweaks
2017-01-26 12:26:11 +01:00
Jesús Rodríguez 9fb5e0ad24 docs(webpack): update to webpack 2 (#3108)
* docs(webpack): update to webpack 2
2017-01-22 12:51:02 +01:00
Patrice Chalin 2aa46a9c17 docs(pipes): fix link to api page w/ search box properly filled in (#3119)
The link to the API Reference page with the search box pre-filled with
“pipe” wasn’t working anymore. This is because the API Reference search
query parameter name is now `query` (it used
to be `apiFilter`).
2017-01-20 16:38:50 +00:00
Marcin Mazurek 9d965a700d docs(forms): remove unnecessary step of installing Bootstrap (#3104) 2017-01-16 22:45:30 -08:00
Jesús Rodríguez 35bbeb2e01 chore: s/falsey/falsy (#3093) 2017-01-13 21:01:51 -08:00
Ward Bell 4253378e66 docs(hierarchical-di): Correct avoidance example (#3086) and more (#3091)
* closes #3086
* samples reworked to conform to our sample style, make more sense, and cover the points in prose.
* copy edits to bring closer to Google docs standards.
2017-01-13 13:21:22 -08:00
Ward Bell dbcc99c70b docs(setup): instructs to delete non-essential files (#3079) 2017-01-05 19:23:37 -08:00
Ward Bell 48fb6adc42 docs(template-syntax): ngClass and ngStyle binding examples not horrible (#3076)
closes #3072, whose criticism prompted these changes.
2017-01-05 12:12:32 -08:00
Ward Bell aa6f503331 docs: remove rxjs-extensions in favor of explict imports (#3075)
Triggered by #2620 which it closes.
2017-01-05 01:12:06 -08:00
Ward Bell 0056a68ec8 docs(style-guide): `./` prefix for template/style URLs and other improvements 2017-01-04 13:59:51 -08:00
Josep Sayol 2f28b321ee docs(structural-directives): typos and clean-up (#3031) 2017-01-03 14:13:41 -08:00
Kapunahele Wong 6d431f11ce docs(style-guide): edit copy (#3020) 2017-01-03 12:43:57 -08:00
Ward Bell d057f73c02 docs(template-syntax): interpolation only for strings #3041 (#3066) 2017-01-02 17:50:14 -08:00
Vladimir Kuprienko f60703d2d4 docs(forms-guide): fixed grammar (#3064) 2017-01-02 17:49:45 -08:00
Filipe Silva 3e0b79f62e fix(ts-config): fix tsconfig ref (#3042) 2017-01-02 15:33:52 -08:00
Jurgen Van de Moere 812968d76b docs(setup): fix typo (#3048) 2017-01-02 15:07:49 -08:00
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
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
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
John Paulino 8cab0ef007 docs(webpack): fix spelling error (#3030) 2016-12-23 23:47:07 +01: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 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 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 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
Ward Bell 9a3cbd611f docs(http): show how to override default `RequestOptions` like headers (#2978) 2016-12-14 13:30:25 -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
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
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 4fe2410e01 [Dart] docs(guide/index): exclude cookbooks from table 2016-12-01 08:13:55 -08:00