Commit Graph

2088 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
Ward Bell 094f63aaf9 docs(ngmodule): improved NgModule summary description
closes #2203
2016-08-26 12:38:15 -07:00
Drew Hintz 5b09914550 chore: better compression of images using zopfli
closes #2196
2016-08-26 10:19:12 -07:00
Trotyl Yu accd74c0a2 docs(server-communication): Fix typo in example (#2199)
* docs(server-communication): Fix typo in example

Clearly we're transforming the response, not the request.

* docs(server-communication): Fix typo in example

Clearly we're transforming the response, not the request.
2016-08-26 10:12:37 -07:00
Jesús Rodríguez 5b64b94540 docs(overview): fix live-example link (#2192) 2016-08-26 10:11:15 -07:00
Jesús Rodríguez 6962f03f30 chore: add _self target to embedded plunkers (#2201) 2016-08-26 10:09:35 -07:00
Ward Bell 8e15829189 docs(ngmodule): fixes for defects discovered by John Papa (#2197)
includes splitting FAQs into its own cookbook.
2016-08-25 19:12:15 -07:00
Ward Bell 8bda4abe7f docs(ngmodule): clarity: FormModule is not in imports array (#2195) 2016-08-25 11:06:28 -07:00
Jesús Rodríguez 5b8df3494a chore: add embedded plunkers functionality (#2194) 2016-08-25 10:44:22 -07:00
Jesús Rodríguez 460e2070af chore: update karma to zone 0.6.15 (#2165)
* chore: update karma to zone 0.6.15

* chore: update karma to zone 0.6.16 (Ward's updates)

* chore: add changes to karma-shim
2016-08-25 09:18:49 -07:00
Jesús Rodríguez 9f0ff2e2a9 docs(attribute-directives): add Renderer to style elements
closes #2164
2016-08-24 23:47:41 -07:00
Jesús Rodríguez d01898f474 docs(style-guide): fix two broken regions
closes #2159
2016-08-24 23:45:55 -07:00
Jesús Rodríguez 00a508aa63 docs(quickstart): fix typo
closes #2158
2016-08-24 23:43:38 -07:00
Jesús Rodríguez 9ec4cbf3a4 docs(component-relative): tweak webpack explanation
closes #2157
Fixes #2156
2016-08-24 23:40:52 -07:00
Trotyl Yu 128915d6c3 docs(server-communication): Fetch API does not belong to ECMAScript
closes #2107
Fetch API is a Web API, has its own specification. ECMAScript is the specification of the JavaScript language, nothing to do with Web API.
2016-08-24 23:39:36 -07:00
Gian Marco Gherardi 172e497fec docs(quickstart/js): app JS files order is not significant
closes #1682
2016-08-24 23:38:03 -07:00
Jesús Rodríguez 40a9b49800 chore: fix live-example for multiple plunkers
closes #2167
2016-08-24 23:36:20 -07:00
Ward Bell fc2815ff6d docs(ngmodule): updates for clarity; breaks out CoreModule 2016-08-24 23:10:10 -07:00
Patrice Chalin 0a45a47c73 docs(api): fix cross-language dropdown menu (#2187)
- Re-enable dropdown on main API page.
- Remove Dart choice from TS & JS API entry pages dropdown.
2016-08-24 14:48:23 -07:00
Patrice Chalin 2fd85d1adc docs(resources): use ng-href to avoid false broken link reports (#2186) 2016-08-24 14:46:54 -07:00
Patrice Chalin 014883d074 docs(*): fix links to Dart API entries (#2185)
* docs(*): fix links to Dart API entries

* post-review updates
2016-08-24 14:46:06 -07:00
Patrice Chalin fcaf8fa365 docs(forms): add link to Dart sample (#2176)
Contributes to #1598.

Also:
- Trimmed trailing whitespace.
- Fixing user-input (since we don’t need the “Run the” in the link).
2016-08-22 15:41:13 -07:00
Patrice Chalin 9b3614d151 docs(user-input): add link to Dart sample (#2175)
Contributes to #1598.
2016-08-22 15:15:30 -07:00
Patrice Chalin f0daf5d238 docs(lifecycle-hooks): post-RC5 Dart resync (#2141)
* lifecycle-hooks: copy latest to cache

* docs(lifecycle-hooks): post-RC5 Dart resync

- TS prose: removed mention of `routerOnActivate` which no longer
exists in the new router.
- TS improvements to the sample code have also been propagated to the
Dart sample.

Contributes to #2077.
E2E tests pass now.

* post-review updates
2016-08-19 15:07:30 -07:00
Filipe Silva 07f07742cf chore(lint): fix whitespace error (#2151) 2016-08-19 13:50:13 -07:00
Ward Bell 2c8a7982e7 docs: use InMemoryWebApiModule everywhere
closes #2137
2016-08-19 04:26:36 -07:00
Brandon Roberts 5c5c9ca16c fix(toh-5): Fixed issues in tutorial flow
The HeroDetailComponent should be in the module declarations from the beginning.
InMemoryWebApiModule.forRoot(InMemoryDataService) and correct text
2016-08-19 03:43:00 -07:00
Brandon Roberts a35fcb4dfd chore(router): Added ModuleWithProviders to routing exports
closes #2113
2016-08-18 23:57:54 -07:00
Ferdinand Malcher 7972eccb8d docs(ngModule): fixed typos
closes #2143
2016-08-18 23:47:05 -07:00
Patrice Chalin 0a631087fa docs(dart): upgrade to beta.20 (#2142) 2016-08-18 22:47:52 -07:00
Filipe Silva bcf7893e3e chore(toh): fix CI errors 2016-08-18 19:30:34 +01:00
Jesús Rodríguez e9a41bac47 docs(toh): add return types
closes #1983
2016-08-17 22:41:06 -07:00
Cassio Landim fccb32d3f8 chore(system.config.js): remove slash in front of "bundle"
closes #1961
This slash before the bundles path is generating a double slash for the scripts path, e.g. http://localhost:3000/node_modules/@angular/common//bundles/common.umd.js. Some server are not happy with this double slash and redirect to 404 pages like Firebase Hosting.
2016-08-17 21:53:21 -07:00
Filipe Silva 7dc18f83df chore(tests): re-enable webpack test
closes #2061
2016-08-17 17:58:49 -07:00
Daniel Kuczewski fb585fae74 docs(ngmodule): replace "swapped" by "replace"
closes #2076
2016-08-17 17:53:07 -07:00
Patrice Chalin 08dec19447 docs(glossary): general cleanup and fix links (#2100)
* glossary: replace cached by latest before edits

* docs(glossary): general cleanup and fix links

This commit addresses issues with the glossary for all languages (JS, TS, Dart).

Fixes #1123, #1838, #2036.

This was originally started as post-RC5 Dart resync, but since mixing Harp partials with Jade mixins can be problematic, this commit does a general cleanup of the 3 x 2 = 6 glossary files (found in `{ts,js,dart}/latest/{.,guide}`).

This commit builds upon #2098 (which created the first `ts/_cache` copy of the glossary), but doesn't really depend on it.

* post-review updates

* post-review updates
2016-08-17 17:50:42 -07:00
Martin ed37bb4835 docs: update deprecated browserDynamicPlatform to platformBrowserDynamic 2016-08-17 17:48:49 -07:00
Jesús Rodríguez a2d6ea3a97 docs(toh): consistency fix
closes #2087
2016-08-17 17:47:15 -07:00
Trotyl Yu 917bf6f603 docs(ngmodule): Fix typo
closes #2103
Another two `@NgModel` typos.
2016-08-17 17:45:16 -07:00
Trotyl Yu f13b4cc04f docs(ngmodule): Fix typo
closes #2104
Remove redundant `by` word.
2016-08-17 17:43:17 -07:00
Trotyl Yu 51f13b51c9 docs(ngmodule): Fix typo of unneeded underscore
closes #2105
Change the underscore to space since it's normal English statement here.
2016-08-17 17:41:47 -07:00
Trotyl Yu b3244ca496 docs(ngmodule): Fix typo of italic in backquote
closes #2106
The underscore would turn to real underscore character within backquote.
2016-08-17 17:40:45 -07:00
Sarun Intaralawan 565ef073ea docs(webpack): remove deprecated browserDynamicPlatform
closes #2109
2016-08-17 17:38:51 -07:00
Trotyl Yu 604e0a72e6 docs(lifecycle-hooks): Remove statements about router-deprecated hooks
closes #2110
The lifecycle-hooks provided by router-deprecated has already been removed in the router, the router now uses guards rather than lifecycle-hooks to achieve the same work.
2016-08-17 17:37:14 -07:00
Trotyl Yu 4f9bf774ee docs(router): Fix typo of missing symbol
closes #2111
2016-08-17 16:46:52 -07:00
Ward Bell 207b04e264 docs(template-syntax): tweak `[(ngModel)]` section header 2016-08-17 16:42:56 -07:00
Patrice Chalin 6df26b5058 docs(template-syntax): update cache copy from latest + post-RC5 Dart resync
closes #2121
Contributes to #2077.
2016-08-17 16:10:52 -07:00
Drew Hintz e6db3ebadb docs(toh/js): fix typo -.ts should be .js
closes #2127
2016-08-17 15:45:36 -07:00
Jesús Rodríguez 66a36bea05 docs(webpack): update testing for RC5
closes #2133
2016-08-17 15:44:37 -07:00
Karl Herrick 37847f83e3 docs(toh-2): align snippet with final example
Fixes #2135.
2016-08-24 17:45:26 -04:00
Patrice Chalin 44862b95f8 docs(toh-3): fix for empty tab (#2122)
Fixes #2119.
2016-08-17 13:33:11 -07:00
Patrice Chalin 0c0c6f69f3 docs(toh-5): TS/Dart review, and Dart resync (#2115)
* docs(toh-5): review and update/resync Dart

**NOTE: run `gulp add-example-boilerplate` after pulling in the
commit.**

This is preparatory work for #2035.
As part of the the chapter review, the Dart .jade was enhanced to use
Jade extends (#2018).
By the same token it contributed to a post-RC5 resync (#2077). Other
key changes:

Dart and TS code:
- Eliminated `styles.1.css` in favor of docregions in `styles.css`.
- `docregion` tags renamed in a few places.
- **No other code changes**.

TS prose
- Fixed: misnamed variable `routing` -> `appRoutes`.
- All other changes are **minor copy edits**, or changes to support
Dart via Jade extends.

Diff of generated HTML for TS chapter was inspected to ensure only
minor copy edits prevailed (i.e., that the support for Jade extends had
no impact on the generated HTML).

* docs(toh-5): edits after doing tutorial

- Some adjustments following actually doing the tutorial. In some cases code shown (e.g. this is what file foo should look like now) didn't match what the user would have. E.g., lingering @Input on the hero property.
- Fixed some lingering deprecated-router prose elements on TS side (e.g., still referring to a route by the old string names like `HeroDetail`).
- Added extra step to `app.component.ts` creation rather than having a critical-call-out later on.
- Reorder some prose for better harmony between TS and Dart prose (also improves the flow).
- Moved the `styleUrls` call-out to the point of first use.

* post-review changes

* more post-review changes

* toh-6 cache update
2016-08-17 13:31:40 -07:00
Patrice Chalin 9869bf585d docs(toh-6): systemjs.config.json -> systemjs.config.js (#2116)
Copyedit in file tree.
2016-08-17 11:11:50 -07:00
Patrice Chalin 68c15c12e5 docs({quickstart,di}): fix code excerpts and titles (#2118) 2016-08-17 09:21:11 -07:00
Patrice Chalin 160b9d2812 tests(toh-[1-4]): e2e - support space in hero name (#2117) 2016-08-17 09:20:17 -07:00
Patrice Chalin c931b56f4a chore(toh-5): improve e2e test coverage and readability (use async/await) (#2092)
* chore(toh-5): improve e2e test coverage

Improved test coverage. Also updated tests to make use of async/await
(so tests are more readable).

* lint feedback
2016-08-17 09:18:23 -07:00
Patrice Chalin 35b54383c2 docs(toh-5): add file to cache (#2102)
* toh-pt5: cached version before new router was introduced

* toh-pt5: refreshed cached copy from latest (post-RC5)
2016-08-12 13:39:17 -07:00
Patrice Chalin dfd46af604 docs(toh-6): post-RC5 Dart resync and TS fixes (#2095)
* toh-6: trim spaces from cache file to simplify diff

* toh-6: copy latest over cache before editing latest

* docs(toh-6): post-RC5 Dart resync and TS fixes

Contributes to #2077.

TS-side changes include:
- Merged three versions of `app/app.module{,1,2}.ts` into a single file
and used docregions instead.
- Misnamed files:
  - `rxjs-operators.ts` -> `rxjs-extensions.ts`
  - `hero-search.service.html` -> `hero-search.component.html`
- Fixed BAD FILENAME error.

Lint reports no errors and toh-6 e2e tests pass.
2016-08-12 11:21:16 -07:00
Patrice Chalin ea457825b8 docs(router): fix markdown, and example mixin cleanup (#2101)
* docs(router): fix markdown and example mixin cleanup

- Fixed: markdown text not under `:marked` region (and so that text was
not showing up in the generated html).
- Fixed: code excerpt title `constructor` -> `isSelected`.
- Cleanup of all makeExample mixin uses.

This cleanup will help make it easier to record differences with the
deprecated router chapter (which must have app-relative makeExample
paths).

* post-review updates

Found another instance of markdown (a heading) outside of a `:marked` region.
2016-08-12 11:20:44 -07:00
Patrice Chalin a771a6e0d0 chore(ts/cache): add glossary (#2098) 2016-08-12 11:14:44 -07:00
Patrice Chalin 7075cdbefa docs(hierarchical-di): post-RC5 Dart resync (#2080)
Contributes to #2077.
Depends on #2078.
2016-08-11 14:43:59 -07:00
Patrice Chalin 596b6862de docs(template-syntax/dart): enhancements to example code (#2051)
* docs(template-syntax/dart): enhancements to example code

Enhancements to `NgStyle` section in support of its API docs.
- Add feature supporting interactive update of a paragraph’s style.
- Add full type declarations.
- Replace bogus implementation of `getStyles()`.

* dartfmt updates
2016-08-11 11:47:59 -07:00
Patrice Chalin 2ca6d6567b chore(quickstart/dart): refresh ts _cache (#2089)
Cf. #2088 and #2077.
2016-08-11 11:29:19 -07:00
Patrice Chalin 19d06061c5 docs(quickstart): post-RC5 Dart resync (#2078)
* docs(quickstart): post-RC5 Dart resync

- Resync Dart QS prose with TS, post RC5.
- Added to-be-shared Jade `var` definitions to `_util-fns.jade`.
- Delete cached QS jade file.
- Eliminate the stub file `styles.1.css` in favor of a `docregion` in
the main `styles.css`.

This commit requires a `gulp add-example-boilerplate` after pulling it in.
Contributes to #2077.

* post-review edits
2016-08-10 13:32:07 -07:00
Patrice Chalin ccdc8c0cec chore(pipes): disable broken e2e tests (#2068) 2016-08-10 08:00:04 -07:00
Trotyl Yu 16731979a0 docs(glossary): Fix ECMAScript description
closes #2030
ES2016(ES7) has already been officially published.
2016-08-09 22:44:11 -07:00
Fredy Treboux 124a03ae09 docs(lifecycle-hooks): minor typo.
closes #2045
2016-08-09 22:36:55 -07:00
Aysegul Yonet 5de00cc591 docs(rc4-to-rc5):fix npm for angular-cli
closes #2072
2016-08-09 22:35:23 -07:00
Trotyl Yu b7e42e2d32 docs(ngmodule): Fix typo
closes #2073
2016-08-09 22:33:26 -07:00
Ward Bell d412470b38 Update router.jade 2016-08-09 22:29:27 -07:00
Brandon Roberts 420b9ca59e docs(router): Fixed lazy loading initial example
closes #2070
2016-08-09 20:00:08 -07:00
Ward Bell 162b1773be docs(rc4-to-rc5): fix npm for MD
closes #2067
2016-08-09 17:55:32 -07:00
Benjamin Dopplinger c8cc3226cc docs(toh-pt5/dart): remove an already existing line (#2056)
Remove an import statement as the package is already imported at this stage of the tutorial.
2016-08-09 17:17:56 -07:00
Patrice Chalin 1ae7b31f61 chore(e2e): fix user-input test
closes #2065
There seemed to be a timing issue. A simple rewrite using async/await
seems to solve the problem.
2016-08-09 16:51:37 -07:00
Jesús Rodríguez 787ca1600d docs(ngmodule): remove module.id
closes #2064
2016-08-09 16:27:01 -07:00
Ward Bell 38a59f91bd docs: small, quick fixes for RC5 including link repair. (#2062) 2016-08-09 15:56:47 -07:00
Naomi Black 7bc0877d31 events(aug9): Add anglebrackets 2016-08-09 13:06:00 -07:00
Naomi Black b4a7b31498 news(aug9): news for the rc5 release 2016-08-09 12:39:51 -07:00
Jesús Rodríguez b54db9ab5f chore: swap reflect on webpack to core-js 2016-08-09 12:39:28 -07:00
Ward Bell aef8aa94aa docs(ngmodule): add chapter 2016-08-09 12:31:52 -07:00
Ward Bell fe35bc6c31 docs(rc4-to-rc5): New RC4->RC5 migration cookbook. 2016-08-09 12:28:25 -07:00
Peter Bacon Darwin d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
Benjamin Dopplinger ef1171bd36 docs(toh-pt5/dart): fix grammar mistakes (#2057) 2016-08-09 10:43:42 -07:00
Patrice Chalin 841db9e817 docs(toh-6): show provider to use with a real back end (#2059)
Fixes #2055.
2016-08-09 10:41:05 -07:00
Patrice Chalin 5ce8304227 docs(dart): decouple from TS .jade files temporarily (#2044)
Addresses #2043.
2016-08-08 15:48:45 -07:00
Patrice Chalin b796d4b97d chore(dart-doc-sync): data files for component-styles and lifecycle-hooks (#2052)
Note that component-styles and lifecycle-hooks examples have been
sync’d for a while, though they were missing `.docsync.json` files.
2016-08-08 12:48:44 -07:00
Peter Bacon Darwin 35b2dbd867 docs(tutorial): text following a node requires a dot 2016-08-06 07:58:28 +01:00
Peter Bacon Darwin 9f03fca039 docs(cookbook): text following a node requires a dot 2016-08-06 07:45:32 +01:00
Jesús Rodríguez 1a8bbea1d1 docs(pipes): add a section about the Intl API
closes #1999
2016-08-05 17:12:10 -07:00
Jesús Rodríguez 22a3704947 chore: update next-item for hidden
closes #2032
2016-08-05 17:04:57 -07:00
Matt Ezell 28174673fe docs(router): formatting - Back Quote to Wrap Identifier
closes #2020
2016-08-05 17:03:25 -07:00
Brandon Roberts 14ad2a8c68 fix(docs): Renamed files for JavaScript/Dart dynamic form cookbook
closes #2010
2016-08-05 16:57:48 -07:00
Ciro Nunes f0272f26f4 docs(glossary): fix link to `component` for DI def
closes #2009
2016-08-05 16:54:56 -07:00
wajdibr 2328b5843b docs(contribute): remove the word beta
closes #1975
2016-08-05 16:53:39 -07:00
Adam d26afa90fd docs(toh-6): Move styles from sample.css to heroes.component.css
closes #1751
Move additional styles from `sample.css` to `hero-search.component.css`.
Edit tutorial to reflect the removal of `sample.css` and the change to `heroes.component.css`.
Edit tutorial to reflect the addition of `hero-search.component.css` file.
Edit `hero-search.component.ts` to include styles from `hero-search.component.css`.
Remove reference to `/public/docs/_examples/toh-6/ts/sample.css` from `/public/docs/_examples/toh-6/ts/index.html`.
2016-08-05 16:45:53 -07:00
Brandon Roberts b93fb12fea chore(examples): Updated live example links to use helper directive
closes #2005
2016-08-05 16:41:45 -07:00
Patrice Chalin 531d6a8bce docs(glossary/dart): recover content (#2037)
Fixes #1918.

Follow-up work will be done under #2036.
2016-08-05 12:13:29 -07:00
Patrice Chalin 6a2cad2640 docs(chore): ensure {forms|router}{,-deprecated} chapters have proper content (#2034)
Fixes #2026.
2016-08-05 11:13:32 -07:00
Kathy Walrath a423724847 docs(dart): update angular.io/dart's link to change log 2016-08-03 12:29:04 -07:00
Patrice Chalin 8a6c5b5725 docs(toh-6): add hero search to Dart; minor edits to TS (#2018)
* docs(toh-6/dart): add hero search

Fixes #1924.

* docs(toh-6/ts): minor updates

* post-review updates

* post-review updates
2016-08-02 09:59:35 -07:00
Patrice Chalin a49ecc7fd8 docs(architecture): give example of libraries in TS and Dart (#2015)
Follow-up to
https://github.com/angular/angular.io/pull/1972#issuecomment-235738082
2016-08-01 14:34:36 -07:00