Commit Graph

1988 Commits

Author SHA1 Message Date
Ward Bell 3ee19780b5 docs(testing): incorporate Igor Minar feedback, Part 2 (#2453)
docs(testing): incorporate Igor Minar feedback, Part 2
2016-09-25 15:07:53 -07:00
Ariel 16c05fde74 Change banner height to min-height 2016-09-24 21:51:40 -04:00
Ward Bell f45c9998cc docs(lifecycle-hooks): combine what and when in one chart; add img (#2469) 2016-09-24 15:50:21 -07:00
Ward Bell ac0e82cda7 docs(js/guide): don't use shredder & _data.json fixes (#2467)
replay Patrice's PR #2448
2016-09-24 14:30:06 -07:00
Ward Bell f5f1e80bb7 docs(lifecycle-hooks): make it easier to get to call sequence (#2465)
Per Ben Lesh suggestion. Also converts away from "we"
2016-09-24 12:37:22 -07:00
Jesús Rodríguez 90100bffd9 chore: ability to add unit test boilerplate (#2462) 2016-09-24 21:03:08 +02:00
Kapunahele Wong 6c7f330620 docs(Displaying Data): copy edits (#2435) 2016-09-23 16:53:50 -07:00
Alex Wolfe 4bb79953be Merge pull request #2075 from jackmu95/fix-styleguide-trigger-positioning
fix(footer): Improve styleguide trigger positioning
2016-09-23 11:09:17 -07:00
Jacob Müller 8d713f1574 Use solid color and transition to red color on hover 2016-09-23 19:44:14 +02:00
Ward Bell b478aaf7a2 docs(testing): from Igor Minar feedback (Part 1) (#2450) 2016-09-23 02:03:20 -07:00
Jacob Müller c8b2c39409 Align footer text left on desktop 2016-09-23 08:58:06 +02:00
Alex Wolfe 37cebe9746 Merge pull request #2272 from LayZeeDK/patch-1
fix(footer): Footer logo is overflowing
2016-09-22 21:19:20 -07:00
Alex Wolfe c348e8332d Merge pull request #2427 from ericjim/fix-sidenav-transparency
fix: boost transparency of sidenav
2016-09-22 11:10:55 -07:00
Patrice Chalin 74644d2b3e docs(testing): use marked Jade filter (#2444)
When the testing page is rendered the following warning is generated:
```
Transformers.markdown is deprecated, you must replace the :markdown
jade filter, with :marked and install jstransformer-marked before you
update to jade@2.0.0.
```
2016-09-22 09:48:22 -07:00
Trotyl Yu 6bf7db584c docs(vs2015): fix typo (#2440) 2016-09-22 11:42:16 +02:00
Trotyl Yu aab6d8c523 docs(vs2015): remove duplicated word (#2441) 2016-09-22 11:40:35 +02:00
Ward Bell 1c87bd67d8 docs(testing): explain DebugElement.triggerEventHandler (#2438) 2016-09-21 20:01:44 -07:00
Daniel Karp 8870f30a3d docs(typescript): Fix name of typings config file (#2378)
I believe name of the typings config file is typings.json, not typings.config.
2016-09-21 11:33:39 -07:00
Tomas Echeverri Valencia c8121d61dd docs(quickstart): Change Npm to npm (#2398) 2016-09-21 11:32:36 -07:00
Prashant Mahajan 36c7224ff9 Update visual-studio-2015.jade (#2416)
* Update visual-studio-2015.jade

In Step 7 (Build and Run App), there needs to be instruction to set index.html as start page, so that when Run button or F5 is pressed to run the application, browser shows index.html

* Update visual-studio-2015.jade
2016-09-21 11:32:07 -07:00
Marc Laval c5e02f27a0 docs(browser-support): add Safari 10 (#2433) 2016-09-21 11:30:03 -07:00
Ward Bell 4c71a32e36 docs(testing): import test module and override component providers (#2428) 2016-09-21 11:27:11 -07:00
Eric Jimenez af4dabb413 only apply transparency changes on mobile 2016-09-21 11:56:19 -04:00
Patrice Chalin 36a3ea2c21 docs(user-input): misc fixes (#2430)
- Remove nonexistent `<important>` “element” since it causes problems
for ng2.io. This is probably a typo. It was more likely meant to be an
anchor name than an element name.
- Fix two PENDING links.
2016-09-21 08:48:38 -07:00
Patrice Chalin 8d756808b9 docs(toh-6): remove BrowserClient provider comment (#2431)
Fixes #2347
2016-09-21 08:47:09 -07:00
Jacob Müller 9a338b659e Some more cleanup 2016-09-21 16:11:12 +02:00
Jacob Müller 8a4a80033e Fix up styles after sync 2016-09-21 15:32:11 +02:00
Jesús Rodríguez fdf517ee6b docs(upgrade): temporary fix broken regions (#2424) 2016-09-21 14:53:43 +02:00
Eric Jimenez 5a203d6b36 boost transparency of sidenav 2016-09-20 20:54:39 -04:00
Kapunahele Wong 7252bd1553 docs(animations): update copy (#2379)
* docs(animations): update copy
2016-09-20 14:31:48 -07:00
Ward Bell 55bf126489 docs(testing): explain rationale for stubbed routerLink tests (#2422) 2016-09-20 13:45:50 -07:00
Patrice Chalin 0f99a7c130 docs(cookbook): don't use shredder on intro page (#2418)
Also added missing cookbook AoT chapter placeholders for JS and Dart,
fixing 404s mentioned in #2389.
2016-09-20 10:59:14 -07:00
Patrice Chalin b2c6acf1ad docs(tutorial): fix broken link (#2420)
Fixes #2419
2016-09-20 10:56:38 -07:00
Ward Bell 03680e23bb chore: more "angular2" to "angular" cleanup (#2417) 2016-09-20 11:37:16 +02:00
Jesús Rodríguez 7d45d60c91 docs(overview): update to new organization (#2405) 2016-09-19 21:23:02 -07:00
Jesús Rodríguez 693f6ae462 chore: rename Angular 2 to simply Angular (#2402) 2016-09-19 20:24:40 -07:00
Jesús Rodríguez 730c93b5bd docs(ts-to-js): change angular2 to @angular (#2403) 2016-09-19 20:18:20 -07:00
Patrice Chalin 98efced068 docs(lang/latest): parameterize landing page Jade by language (#2389)
ng2.io preparatory work.
2016-09-19 20:14:31 -07:00
Patrice Chalin 0c678c2355 docs: use Jade include rather than Harp partial (#2392)
No net effect on the generated docs.
Preparatory work for ng2.io.
2016-09-19 20:08:03 -07:00
Ward Bell 7b5244ce87 docs(testing): more scenarios (#2396) 2016-09-19 19:57:59 -07:00
Naomi Black 1027e3e9be about(shannon): add shannon's bio 2016-09-19 17:41:23 -07:00
Patrice Chalin e016f3f31e docs(tutorial): don't use shredder for intro page (#2388)
An initial multilang cleanup for ng2.io
2016-09-19 16:56:17 -07:00
Patrice Chalin d26007aa67 docs: fix {ts,dart,js}/latest/_data.json (#2387)
* docs: fix {ts,dart,js}/latest/_data.json

Fixes #2384.
Fixes #2385.

* post-review updates

Addressing #2407.
2016-09-20 00:52:41 +02:00
Mike Reid d07d42873a docs(devguide): add missing app.module.js source in Basics > Forms (#2342)
Add missing app.module.js source example in Basics > Forms dev guide
- File is missing for JavaScript, but present for TypeScript
2016-09-19 09:41:31 -07:00
Jesús Rodríguez 45fec1c135 docs(forms): remove deprecated forms notice for js (#2395) 2016-09-19 18:39:53 +02:00
Jesús Rodríguez c17f8596e5 docs(webpack): move to core-js in testing (#2404) 2016-09-19 18:38:54 +02:00
Martin-Wegner a384065576 docs(webpack): remove unused ts-loader (#2361)
69ae63c4b1 changed `public/docs/_examples/webpack/ts/config/webpack.common.js` and `public/docs/_examples/webpack/ts/config/webpack.test.js` and replaced `ts` with `awesome-typescript-loader`. So we can remove `"ts-loader": "^0.8.1",` from the `public/docs/_examples/webpack/ts/package.webpack.json`.
2016-09-19 13:59:00 +02:00
Maxime 40f320d721 docs(testing): fix small typo (#2401) 2016-09-18 18:54:40 +02:00
John Papa 159b196baf docs(toh): fix spelling of ActivateRoute to ActivatedRoute (#2400)
* fixed spelling of ActivateRoute to ActivatedRoute

* dont do cache
2016-09-18 18:34:32 +02:00
Mike Reid 665c346d8f docs(devguide): fix invalid JavaScript syntax in hero-form.component.js example (#2343)
Fix Unmatched '{' JavaScript syntax error in hero-form.component.js example
2016-09-17 23:58:54 +02:00
Aristeidis Bampakos 0605019c06 docs(news): Fix RC7 announcement link (#2363)
Fix RC7 announcement link
2016-09-17 23:57:21 +02:00
Sarun Intaralawan c6cf4dc310 docs(router): add missing backticks (#2366) 2016-09-17 23:56:55 +02:00
Filipe Silva 5bd269484a fix(ngmodule): fix broken anchor (#2373) 2016-09-17 23:56:36 +02:00
Alex Wolfe 8b7c3b6e70 update title on sidenav (#2386) 2016-09-17 23:52:46 +02:00
Ward Bell 84b5297cc2 docs(testing): feedback from Joe Eames/add more scenarios (#2391) 2016-09-17 12:44:34 -07:00
Alex Wolfe 7c3c5d0cc4 fixed weird opacity issue 2016-09-16 16:39:22 -07:00
Alex Wolfe 9fc14a95a8 some touches to banner and api docs 2016-09-16 16:28:41 -07:00
Alex Wolfe e2ec60d8dd udpate colors and contrast for accessibility improvements 2016-09-16 15:58:20 -07:00
Alex Wolfe a0dbeee18a banner(scrolling): add scrolling to the banner 2016-09-16 15:58:20 -07:00
Alex Wolfe f4c4aee706 initial commit for rotating announcement banner 2016-09-16 15:58:20 -07:00
Pete Bacon Darwin c787fd2ff0 docs(testing-guide): fix tiny typo (#2381) 2016-09-16 23:41:49 +02:00
Ward Bell 9262f7a234 docs(ngmodule): remove hero.service from module (post-RC6 todo)
also switched to moduleId
2016-09-15 17:44:09 -07:00
Patrice Chalin f0ff5e26bd docs(style-guide): attributes aren't comma separated (#2372)
A fix necessary for ng2.io
2016-09-15 17:18:41 -07:00
Filipe Silva e56bae4a8c fix: fix broken anchors 2016-09-15 12:18:31 -07:00
Filipe Silva b9826c8ddf chore: update compiler-cli version (#2354) 2016-09-15 04:24:56 +01:00
Naomi Black 8730d62995 docs(release): announce 2.0 final 2016-09-14 19:58:43 -07:00
Filipe Silva 24c61dd7bc chore: here we are (#2353) 2016-09-15 02:41:19 +01:00
Alex Wolfe 72be55c4d2 chore: more typograhpical fixes (#2352) 2016-09-15 02:35:03 +01:00
Naomi Black 095a36f903 docs(refresh): late bio add and livestream banner 2016-09-14 18:27:02 -07:00
Kapunahele Wong bfc62e0509 chore(bios): adding bio 2016-09-14 18:27:02 -07:00
Alex Wolfe 802bee8d2f fixed headings in api pages 2016-09-14 18:20:48 -07:00
Alex Wolfe 65db6b9268 design(style): Restyle changes from Alex 2016-09-14 17:18:55 -07:00
Naomi Black c74c45f75a news(sept): news updates for september 2016-09-14 15:25:31 -07:00
Jesús Rodríguez d64cb11635 docs(aot): remove typescript instruction 2016-09-14 14:49:25 -07:00
Georgios Kalpakas c3aa8945fb chore(bios): add bio for gkalpak 2016-09-14 14:38:10 -07:00
Naomi Black 053ecc2b10 docs(aot): More consistency edits to aot/jit 2016-09-14 13:55:23 -07:00
Brandon Roberts c15a68e591 docs(router): Added and organized more router dev guide content
Moved all heroes functionality into milestone 2
Crisis Center initial functionality is milestone 3
Admin feature module as milestone 4 including route guard examples
Updated milestone 5 to lazy load admin feature module
Added examples for CanLoad, CanActivateChildren guard, component-less routes
Added section on explanation of ActivatedRoute
Added section on animating route components
Added section on relative navigation
2016-09-14 13:46:16 -07:00
Kapunahele Wong 4d46d7c1e4 docs(glossary): copy edit
See #2292 for review history.
closes #2292
2016-09-14 13:38:20 -07:00
Naomi Black bc804322c4 docs(aot): update nav to be consistent with aot hyphenation 2016-09-14 10:55:46 -07:00
Filipe Silva 69ae63c4b1 chore: update examples to TS2.0 (#2329) 2016-09-14 10:15:51 -07:00
Torgeir Helgevold 6813ced018 docs(cookbook - aot compiler) (#2161)
docs(cb-aot-compiler): new cookbook on AoT compiler
2016-09-14 10:10:04 -07:00
Kapunahele Wong 97736ad5ee Security Edits Combined (#2245)
* Security Edits Combined

* Security copy edits

* Fix typo in security

* fixing trailing whitespace
2016-09-14 09:11:53 -07:00
Filipe Silva ba41b2da30 chore(test): remove 03-05 style guide test 2016-09-14 08:50:33 -07:00
Ward Bell 1da4b1ba9d chore(home): fix joyful-development.png import statement
fixes #2085  Just the linked png, not the svg, jpg, or gif
2016-09-14 08:32:46 -07:00
Filipe Silva f017102cbc chore(test): fix travis 2016-09-14 07:40:29 -07:00
Benjamin Dopplinger d858ed379a docs(server-communication): fix "app/app.module.ts" typo
closes #2283
2016-09-13 20:52:26 -07:00
Brandon cfba6d1de3 fix(router): Added ModuleWithProviders export to configuration example (#2314) 2016-09-13 20:49:01 -07:00
Deborah Kurata a52d8c3e76 docs(validation): Change to 'Table of Contents'
Same change to NgModules
closes #2315
2016-09-13 20:46:36 -07:00
John Papa 39c5a2b949 Rc5 doc sweep (#2218)
* Removed 03-05, 04-12, 04-15.

Removed style for whitespace in imports.

Removed + sign prefix for routing folders. Updated all code.

Removed style that said to use lazy loading.  There was no value in the style other than use it :)

* renamed componet router to router
2016-09-13 18:51:03 -07:00
Ward Bell 1fb488b4ec docs: delete forms- and router-deprecated, jade + examples (#2328) 2016-09-13 18:49:51 -07:00
Jonathan Persson f2b1bbaba9 Remove a superfluous `.` in HTTP client docs 😄 (#2313) 2016-09-13 16:13:44 -07:00
Jesús Rodríguez ee955a451e docs(quickstart): remove compiler-cli from dependencies (#2285) 2016-09-13 16:11:22 -07:00
Shai Reznik 3c9ff061c6 docs(server-communication): fix small typo (#2312) 2016-09-13 15:58:39 -07:00
Jesús Rodríguez 08ae41019e docs(animation): add callbacks documentation (#2271) 2016-09-13 15:57:58 -07:00
Jesús Rodríguez 2d6c9f5fd7 chore: add upgrade to system.js configs (#2302) 2016-09-13 15:56:35 -07:00
Jesús Rodríguez 70ca1e1aa9 docs(router): remove double html tag (#2286) 2016-09-13 15:55:51 -07:00
Kapunahele Wong c5a1a88042 a1-a2 quick ref copy edits (#2255)
* a1-a2 quick ref copy edits

* copy edits, 2nd pass

* Glossary Edits

* 1-2 quick ref copy edits, pass 2
2016-09-13 14:56:29 -07:00
Ward Bell 07cfce795f docs(testing): testing chapter and samples for RC6 (#2198)
[WIP] docs(testing): new chapter, new samples
2016-09-13 14:39:39 -07:00
Ward Bell c5ad38ee86 docs(ngmodule-faq): eager loaded Routed Feature Module must be imported (#2304)
fixes #2298
2016-09-13 12:27:27 -07:00
Jesús Rodríguez 98e5bc248e docs(ngmodule-faq): fix plunker link (#2277) 2016-09-13 12:27:13 -07:00
jmcgoldrick e1b2f6a2fe docs(ngmodule-faq): correct `BrowserModule` import module (#2269) 2016-09-13 12:24:59 -07:00
Jesús Rodríguez d1987b183b docs(di): remove InjectorMetadata mentions 2016-09-13 09:41:38 -07:00
Jesús Rodríguez 988694bb12 chore: update docs to rc7 2016-09-13 08:48:45 -07:00
Katiuska Gamero 1646c45d67 update conference links - add ng-europe; remove AngularConnect 2016-09-12 17:54:46 -07:00
Ward Bell 01b211193c docs(browser-support): edits (#2299) 2016-09-09 22:21:40 -04:00
Peter Bacon Darwin a2089c5b4f api-builder: render pipes with specialised template 2016-09-09 14:44:46 -07:00
Marc Laval d4a641e553 docs(browser-support): document browser support and polyfills (#2244) 2016-09-09 10:02:02 -07:00
Patrice Chalin 562e99463a chore(cheatsheet): fix double banner issue (#2293)
Each page is designed to have a single banner; adjust the cheatsheet to
follow this convention. Also eliminate the article nested within the
`l-conent` div.

Propagated changes/cleanup to JS and Dart.
2016-09-08 15:01:39 -07:00
Patrice Chalin 3e69d83e68 chore(cheatsheet): use Jade to generate mirror page (#2289)
The page `docs/ts/latest/guide/cheatsheet.html` is a mirror of
`docs/ts/latest/cheatsheet.html`. Use Jade instead of Harp to create
the mirror so that jade2ng can generate the corresponding file.
2016-09-08 13:37:22 -07:00
Patrice Chalin d24ff43728 examples(lifecycle-hooks): update Dart sample to match TS (#2281)
Make equivalent TS code changes to Dart sample.

This sync’s Dart with all #2177 changes pertinent to Dart.

E2E tests pass now for Dart, Suites passed:
-  public/docs/_examples/lifecycle-hooks/ts
2016-09-08 08:38:25 -07:00
Patrice Chalin ec076f842e [WIP] chore(dart): update to beta.21 (#2280) 2016-09-07 16:52:04 -07:00
Patrice Chalin 15c50d76a2 docs(*): fix broken links in glossary and router chapter (#2279)
- Glossary: `#ecmascript=2015` is not a valid fragment.
- Router: `<a name=“…”>` needed to be `<a id=“…”>`.
2016-09-07 16:48:43 -07:00
Patrice Chalin b56e4c6fd3 docs(quickstart): fix broken link to tutorial (#2278) 2016-09-07 13:30:39 -07:00
Lars Gyrup Brink Nielsen 6c2ec829e5 Fixed footer logo overflowing
Footer logo was overflowing at ~960px wide viewport. Added `background-size: contain` (shorthand), and `max-width: 100%` to contain wrapper, and background image within grid.
2016-09-06 21:54:23 +02:00
Kathy Walrath 3fa68cd7ac docs(template-syntax): delete a single character 2016-09-06 10:33:13 -07:00
Peter Fryer-Davis 32ac619fc7 Uwaterloo 210J pfryerda edits (#1968)
* template-syntax - removed word redundancies, consistent bolding rather than italics

* Some (not all) changes from PR.

* remaining changes from pull request
2016-09-06 10:31:25 -07:00
Patrice Chalin 59f6ebe849 docs(*): misc fixes to prose in support of jade2ng (#2266)
Fixes to prose “syntax”. Anomalies detected by jade2ng.
Also updated the main _utils-fn.jade in support of jade2ng as well.
2016-09-06 10:28:24 -07:00
Aristeidis Bampakos b16b05805e docs(quickstart): Minor typo fixes. (#2253) 2016-09-03 18:10:11 -07:00
Jesús Rodríguez a9e7781844 docs(quickstart): remove instruction (#2261) 2016-09-03 18:09:31 -07:00
Jesús Rodríguez 42257e4a22 docs(typescript): fix broken link (#2263) 2016-09-03 13:55:10 -07:00
Ward Bell 6ff9e1a5c1 docs(toh-6): missing create instruction (#2264)
fixes #2231
also addresses `<h1>` issue raised in PR #2256
2016-09-03 13:46:27 -07:00
Ward Bell 38bef16604 docs(ngmodule-faq): stronger, clearer advice on where to register providers (#2262) 2016-09-03 13:26:19 -07:00
Wesley Cho 94a40a1852 fix(quickstart): remove accidental space (#2248)
- Remove accidental space causing URL to be rendered incorrectly
2016-09-03 12:15:03 -07:00
Patrice Delorme 1e0bd22d57 docs(DI): fixed Url of "Should I add providers to the root AppModule or the root AppComponent?"
closes #2251
Fixed url "Should I add providers to the root AppModule or the root AppComponent?" to proper link : NgModule to NgModule-FAQ
2016-09-03 12:08:41 -07:00
John Papa 58a787a34d green = do (#2257)
blue = consider
red = avoid
light gray = why
2016-09-02 16:41:08 -07:00
Martin-Wegner 1804f485dc since RC5 the webpack prod build is defect (#2200)
* since RC5 the webpack prod build is defect

Issue #10618 recommends 'mangle: { keep_fnames: true, screw_ie8: true } for the webpack UglifyJs plugin

* remove screw_ie8 option

removed the screw_ie8: true option because it is not necessary
2016-09-02 01:13:34 -07:00
Ward Bell 77aeb84bc2 chore: remove testing libs from systemjs.config (#2247)
They belong in the testing shim files
2016-09-02 01:11:27 -07:00
Jesús Rodríguez f823605a22 chore: fix quickstart 2016-09-01 08:40:42 -07:00
Naomi Black 38fe94df81 docs(qs-reboot): edits for the quickstart 2016-09-01 07:10:42 -07:00
Jesús Rodríguez 08b491df7b chore: add systemjs.config.1.js 2016-09-01 15:48:36 +02:00
Ward Bell 9d5bbfca15 chore: update systemjs.configs and plunker-builder/indexHtmlTranslator for RC6 2016-09-01 00:20:58 -07:00
Ward Bell 48a30534b3 docs(ngmodule): drop '_' in '_@NgModule' (#2217) 2016-08-31 18:15:53 -07:00
Ward Bell 18ec087f07 docs(forms): fix css, form validation e2e, other tweaks (#2235) 2016-08-31 18:15:14 -07:00
Filipe Silva 0c962712b3 chore: update to rc6 (#2177) 2016-08-31 18:08:57 -07:00
Rob Wormald b2781d96dc chore(docs): change npmcdn to unpkg 2016-08-31 12:22:19 -07:00
Ward Bell 1212b5147f docs(cb-form-validation): add template2 - a step between template and reactive
Raises questions about what really separates Forms from ReactiveForms
2016-08-31 01:15:05 -07:00
Ward Bell f971685a7c docs(cb-form-validation): ward's tweaks
renamed from cb-validation to cb-form-validation
other refactorings and text changes
2016-08-30 14:53:23 -07:00
Deborah Kurata 3b4a5d533d docs(cb-form-validation): create Form Validation Cookbook 2016-08-30 14:53:23 -07:00
Patrice Chalin a24800aed7 docs(lifecycle-hooks): update to cache file (#2222)
No other changes.
2016-08-30 14:02:19 -07:00
Patrice Chalin aeec881c81 docs(quickstart): adjust recent change for Dart (#2223)
* Update cache

* docs(quickstart): tweak recent change

Tweak to prose so that `AppModule` shows up as `AppComponent` in Dart.
2016-08-30 13:56:00 -07:00
Patrice Chalin f475256124 example(toh-1): fix type error in snippet (#2219)
Fixes #2216.
2016-08-30 11:00:54 -07:00
Kapunahele Wong 2ec07472ea Guide & Features edits (#2180)
* Guide & Features edits

* PR updates & Architecture edits

* a couple we -> you updates

* architecture edits

* copy edits in arch., index, npm-packages

* few copy edits

* some chapter -> page changes
2016-08-29 08:37:39 -07:00
Suguru Inatomi 5fd6ae3099 fix(docs): fix typo 'ngOnit' (#2211) 2016-08-27 01:58:26 -07:00
Ward Bell e25a1111e0 docs(ngmodule): add plunker images (#2209) 2016-08-27 00:45:25 -07:00
Patrice Chalin 3baea41801 chore(toh-5): refresh cache file (#2208)
No other changes.
2016-08-26 15:48:47 -07:00
Patrice Chalin 101d2ef091 chore(toh-6): refresh cache file (#2207)
No other changes.
2016-08-26 15:47:34 -07:00
Patrice Chalin 907f848c95 docs(toh-6): refactoring of 'add, edit, delete heroes' (#2170)
* docs(toh-6/dart): refactoring of 'add, edit, delete heroes'

Refactoring of "add, edit, delete heroes" section of toh-6 from one big
bottom-up step into small independent feature slices, where the user
achieves a "milesone" (i.e., can run the full app) after each feature
section. The section rewrite is shorter and offers a better UX.

Other simplifications:
- Error handling is consistent: in the hero service we log to the
console, everwhere else we just let errors bubble up.
- Hero service methods renamed based on function (create, update)
rather then lower-level implementation (post, put).
- @Output properties have been eliminated (since they weren't
explained).

E2E tests now pass on both the TS and Dart sides.

* docs(toh-6/ts): refactoring of 'add, edit, delete heroes'

Refactoring of "add, edit, delete heroes" section of toh-6 from one big
bottom-up step into small independent feature slices, where the user
achieves a "milesone" (i.e., can run the full app) after each feature
section. The section rewrite is shorter and offers a better UX.

Other simplifications:
- Error handling is consistent: in the hero service we log to the
console, everwhere else we just let errors bubble up.
- Hero service methods renamed based on function (create, update)
rather then lower-level implementation (post, put).
- @Output properties have been eliminated (since they weren't
explained).

E2E tests now pass on both the TS and Dart sides.

Post-Dart-review updates included.

* docs(toh-6): ward tweaks
2016-08-26 14:57:45 -07:00
Patrice Chalin 2bd9946bda example(toh-4,5): getHeroesSlowly() to return getHeroes() (#2152)
* example(dart/toh-4,5): getHeroesSlowly() to return getHeroes()

Have `getHeroesSlowly()` delay and then return the value of
`getHeroes()`. This makes it easier for user’s performing the tutorial
to keep this slower method as they evolve toh-5 into toh-6.

* example(ts/toh-4,5): getHeroesSlowly() to return getHeroes()

Have `getHeroesSlowly()` delay and then return the value of
`getHeroes()`. This makes it easier for user’s performing the tutorial
to keep this slower method as they evolve toh-5 into toh-6.
2016-08-26 14:39:57 -07:00
Ward Bell 320920e1fd docs(ngmodule): replace `export default` with explicit export (#2206)
Because AoT won't support `export default` for RC6.
2016-08-26 13:17:05 -07:00
Ward Bell 82539b69cb chore: replace BaseException with new Error (#2205)
because BaseException removed from A2 public api
2016-08-26 13:00:23 -07:00