Commit Graph

1791 Commits

Author SHA1 Message Date
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
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
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
Ward Bell fc2815ff6d docs(ngmodule): updates for clarity; breaks out CoreModule 2016-08-24 23:10:10 -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
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
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
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
Patrice Chalin 36091d5934 docs(DI/dart): fix incorrect snippet (#2017)
Dart counterpart to #2001.
Fixes #1956 for Dart.
2016-08-01 14:28:28 -07:00
Adão Júnior 6f63e6a390 docs(server-communication): Resolve todo (#1993)
* use latest version of http_in_memory_web_api

* remove todo and drop the ?? body term
2016-08-01 14:13:24 -07:00
Ciro Nunes e2919de78f docs(glossary): improve DI word
closes #2007
2016-08-01 12:52:30 -07:00
Torgeir Helgevold daac8fffbe docs(cb-dynamic-forms): update subtitle
closes #2004
2016-08-01 12:49:15 -07:00
Jesús Rodríguez 818c82c2a2 chore: add README.md to each plunker
closes #1974
2016-08-01 12:48:04 -07:00
Patrice Chalin 04d5337b75 docs(toh-6): search query fixes
closes #2008
Changes:
- Drop `asObservable()` since it is deprecated in RxJS 5 (see the
[migration
guide](https://github.com/ReactiveX/RxJS/blob/master/MIGRATION.md#operat
ors-renamed-or-removed)).
- Drop `+` from hero search query URL: `app/heroes/?name=${term}+`. At
best it is interpreted as a regex op that serves no purpose, at worst,
it gets interpreted as a space (cf. [HTML 4.01 section
17.13.4](https://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4)
).
- Rename `searchSubject` to `searchTerms`
- Other minor tweaks to prose.

This work is in preparation for #1924.

Note: toh-6 tests pass.
2016-08-01 11:50:53 -07:00
Jesús Rodríguez 4507589e26 docs(toh): add explanation for using the search box
closes #2002
2016-07-29 12:44:20 -07:00
Jesús Rodríguez 92239a80ed docs(DI): fix incorrect snippet 2016-07-29 08:40:20 -07:00
Gerard Sans abd6febed5 docs(animation): fix typo! =O
closes #1992
2016-07-29 08:37:31 -07:00
Jesús Rodríguez 4b3b3a2d50 chore: update typings 2016-07-29 08:35:57 -07:00
Jesús Rodríguez 5ca22eed32 docs(architecture): rename missing library 2016-07-29 08:31:31 -07:00
Jesús Rodríguez efbf259318 chore: fix linting 2016-07-29 13:27:06 +02:00
Ignat Shining fc1a9a6026 docs(dependency-injection): Clarify how TypeScript generates decorator metadata
closes #1960
2016-07-25 10:40:56 -07:00
Kyle Roberts ce8b94799c docs(Router): remove duplicate "activated"
closes #1957
2016-07-25 10:14:55 -07:00
Kyle Roberts 335d20e834 docs(Npm Packages): grammar and capitalization consistency
closes #1947
2016-07-25 10:12:18 -07:00
Michael bede1db748 typo(animation) wrong documentation for states
closes #1937
2016-07-25 10:01:30 -07:00
Tero Parviainen 0ae32e7adb docs(upgrade): cover Angular 1.5 one-way data bindings
closes #1090, 1169
2016-07-25 09:58:41 -07:00
Kathy Walrath 66984d5fc8 Revert "Template Expression Operators Copy Edit "
This reverts commit d0811714d5.
2016-07-21 13:41:44 -07:00
sgmills365 14bd476d89 Added capital lettings to titles 2016-07-21 00:42:18 -07:00
amandaegraham d0811714d5 Template Expression Operators Copy Edit
Waterloo ENGL 210 J Student 
Changed order of text in pipe operator to introduce pipe operator 
Changed word choice/word location in pope operator 
Added : before examples to keep consistent
2016-07-21 00:42:18 -07:00
amandaegraham 7e1dba64eb Interpolation Copy Edit 2016-07-21 00:42:18 -07:00
amandaegraham e8642d4616 HTML Section Copy Edit
Waterloo ENGL 210J Student  
Line 44: Changed tense
Line 54: Changed wording of second sentence to not start with 'and'. Added DOM meaning (Document Object Model)
2016-07-21 00:42:18 -07:00
Patrice Chalin ff46ee0282 tests(toh-4): e2e tests
closes #1940
Note: tests are identical to those of toh-2.

Contributes to #1619.
Supersedes #1785.

Suites passed:
- public/docs/_examples/toh-4/dart
- public/docs/_examples/toh-4/ts
2016-07-20 18:22:23 -07:00
Patrice Chalin 7dfbb884b3 tests(toh-3): e2e tests
closes #1939
Contributes to #1619.
Note: tests are identical to those of toh-2.

Suites passed:
- public/docs/_examples/toh-3/dart
- public/docs/_examples/toh-3/ts
2016-07-20 18:21:23 -07:00
Patrice Chalin 6b5d8cb2a7 tests(toh-2): e2e tests
closes #1938
Contributes to #1619.
2016-07-20 18:20:17 -07:00
Patrice Chalin 248eeac6b2 tests(toh-1/e2e): cleanup and updates incl. use of async/await 2016-07-20 16:10:09 -07:00
Patrice Chalin eafd7db119 chore(ng2/dart): update from beta.1x to beta.18 (#1941)
* chore(ng2/dart): update from beta.1x to beta.18

Update made to all `pubspec.yaml` files and to relevant prose.
Note that pipes was back a beta.15; the rest were at beta.17.

* chore(pipes/dart): update ngFor microsyntax and transform method param

Updates to pipe example source code:
- Pipe `transform()` method parameters
- `ngFor` microsyntax, from `#` to `let`
2016-07-20 15:51:23 -07:00
Patrice Chalin 738b5509f8 examples(tutorial): misc fixes to issues from failed e2e
Misc fixes to problems with the tutorial examples, as detected by the new e2e tests. Now the toh-4 index.html is identical to those of the previous parts.

Fixes #1609.
2016-07-20 08:34:32 -07:00
Jesús Rodríguez 825c416f8a chore: bump router on plunker
closes #1927
2016-07-19 22:18:56 -07:00
Brandon Roberts 2e3f3e7fb1 docs(router): Minor dev guide fixes
closes #1932
2016-07-19 22:15:21 -07:00
Torgeir Helgevold f00b96fab8 docs(toh-6): remove details about throw 2016-07-19 22:48:55 -04:00
Torgeir Helgevold 0387b810c6 docs(toh-6): remove throw
closes #1930
2016-07-19 17:20:15 -07:00
Patrice Chalin b4c92d9c9c docs(toh-6/dart): quickfix to "BAD FILENAME" errors (#1929)
Exclude the new Observables section entirely for now.
2016-07-19 15:30:42 -07:00
Patrice Chalin 753452650c docs(cheatsheet/dart): generate from dart sources (#1912)
* docs(cheatsheet/dart): generate from dart sources

Fixes #1906.
2016-07-19 12:35:39 -07:00
Ward Bell ce2e14e4ae docs(toh-pt6): bind to a component method rather than a RxJS Subject
updated text accordingly
2016-07-19 12:26:14 -07:00
Ward Bell 72efdc5e5b chore: add tslint to example package.json
closes #1926
Not sure how it disappeared.
2016-07-19 11:28:23 -07:00
Torgeir Helgevold f50dff818a docs(toh-pt6): add observables to HTTP tutorial chapter
closes #1528
2016-07-18 23:12:44 -07:00
Brandon Roberts f056a2d5d2 docs(router): Added content updates to developer guide
closes #1905
Added section for RouterLinkActive
Added section for global query params and fragments
Added section for RouterState
Added wildcard route to example configuration
Updated code samples
Renamed .guard files to .service
Renamed interfaces.ts to can-deactivate-guard.service.ts
Removed unused files
2016-07-18 15:21:09 -07:00
Benoit Lateltin 5bac678c60 docs(toh-pt5): fix typo in tutorial
closes #1913
2016-07-18 11:10:19 -07:00
Torgeir Helgevold a19c2ce726 docs(toh-6): use consistent header syntax
closes #1903
2016-07-16 19:10:41 -07:00
Patrice Chalin 1bef20abc4 docs(api/dart): add support for generation and display (#1888)
Fixes #1880.
Supersedes #1593.
2016-07-15 14:10:12 -07:00
Chris Grieger 08d051d2f6 docs(testing): refer to 'lite-server' instead of 'live-server'.
closes #1737
Since the QuickStart uses 'lite-server', this should also be used for
the testing guide.
2016-07-14 14:39:59 -07:00
Foxandxss a8091f5b84 docs(style-guide): remove routing from TOC
closes #1856
2016-07-14 14:19:48 -07:00
Foxandxss abd860c3ca chore: update testing example to RC4
closes #1839
2016-07-14 14:11:02 -07:00
Foxandxss 8ddc93d211 docs(style-guide): create a route redirection
closes #1857
2016-07-14 14:09:19 -07:00
Thomas Shafer b669e30187 docs(toh-4): change var keyword to const for HEROES constant
closes #1858
HEROES is a `const` and is defined as a `const` originally: https://github.com/angular/angular.io/blob/master/public/docs/_examples/toh-2/ts/app/app.component.ts#L10
2016-07-11 22:07:41 -07:00
Sekib Omazic f15b40f513 fix(package.webpack.json): add angular2-template-loader
closes #1864
Add missing angular2-template-loader dependency
2016-07-11 22:02:20 -07:00
Foxandxss 961f5c8994 chore: make animation test wait a bit longer
closes #1844
2016-07-11 22:00:04 -07:00
Foxandxss 50b51f6bdc docs(router): fix broken links in router chapters
closes #1843
2016-07-11 21:57:15 -07:00
Patrice Chalin 98e5d4af77 docs(all): link cleanup - broken and outdated
closes #1841
Fixes all broken links except genuine errors (see #1840), have been
resolved as of 2016-07-06
(https://github.com/angular/angular/commit/2708ce6a17667a2369c83bcf244c9
366b058d4c9).

Fixes #1574
2016-07-11 21:50:07 -07:00
Brandon Roberts 5104470558 docs(router): Removed refs to deprecated router; lowerCamelCase constants
closes #1834
2016-07-11 21:44:12 -07:00
Patrice Chalin 761f857f13 docs(architecture/dart): proofread, updated Dart/TS app and jade
closes #1807
- e2e tests now also cover the tax calculator.
- Dart app updated to match TS (it had no sales tax calculator).
- TS sample source cleanup (e.g. removed many unnecessary `docregions`).
- Prose updated to include @kwalrath's revisions from a while ago, Ward's comments, and
some of my edits as well.

Contributes to #1598 and #1508.
2016-07-11 20:35:06 -07:00
Patrice Chalin fb9edf972e chore: fix "Invalid example" warnings from shred map builder
closes #1832
The shred map (xref) builder was issuing warnings. This fix includes
- Adjustments to the shredder map builder itself so that it
understands, e.g., app-project relative example paths.
- `**/guide/glossary.jade` now (Jade) `includes` the shared parent
`glossary.jade` rather than (Harp) importing (via `partial`). This
fixes `makeExample` path issues in the glossary.
- Adjusted some `makeExample` paths that were ok for site build, but
confused the xref tool.
2016-07-11 20:10:56 -07:00
Ward Bell 0664a271ba docs(style-guide): spell const variables in lower camel case
Changes previous guidance on const which insisted on UPPER_SNAKE_CASE
2016-07-07 22:41:04 -07:00
Ward Bell 2c5f0dbd9a docs(router): more little fixes from #1808 2016-07-07 18:51:36 -07:00
Patrice Chalin 801ac76da0 docs(guide/displaying-data): proofread (#1819)
* docs(displaying-data/dart): proofread

- Dart prose simplified by removing discussion of "additions to
pubspec.yaml" which are no longer necessary given the current state of
QuickStart.
- E2e suites passed:
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/displaying-data/ts

Contributes to #1598 and #1508.

* docs(displaying-data/ts): proofread

- TS prose updated to include @kwalrath's revisions from a while ago,
with some of my edits as well.
- E2e suites passed:
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/displaying-data/ts

* docs(displaying-data/ts): post-review edits
2016-07-07 14:00:19 -07:00
Patrice Chalin ff718f4211 docs(cheatsheet/dart): alert reader of possible inaccuracies (#1814)
Until we can generate the cheat sheet properly, at least alert reader
of possible inaccuracies.
2016-07-07 11:42:04 -07:00
Ward Bell d1dd2b82f4 docs(router): changes suggested by Deb Kurata in #1808 2016-07-06 01:11:34 -07:00
Christos Koutsiaris 7f991dc4f1 docs(typescript-configuration): TypeScript handbook documentation link change
closes #1830

Page has moved to http://www.typescriptlang.org/docs/handbook/tsconfig-json.html
2016-07-05 23:41:15 -07:00
Foxandxss da58ff45c7 docs(style-guide): update style-guide samples to use v3 router
closes #1828
2016-07-05 23:29:29 -07:00
Foxandxss 341f32d7f6 docs(webpack): add angular2-template-loader
closes #1825
2016-07-05 23:25:07 -07:00
Foxandxss 37b377ddb3 docs: update node and npm version recommendations
closes #1821
2016-07-05 23:09:37 -07:00
Patrice Chalin b0e0d94b5c docs: revert Jade to markdown
closes #1818
Previously, the markdown of some chapters was converted to Jade markup
to support the conditional exclusion of TS prose parts in Dart
chapters. This commit reverts some of that back to clean markdown,
thanks to a few custom directives.
2016-07-05 23:03:30 -07:00
eltronix e2cd8ffe1d docs(testing): Fixed typo in pipe.jade
closes #1805
2016-07-05 21:06:13 -07:00
Stephen Fox e766f666bd docs(http): Small typo fix in sentence reference to items: Observable
Ward tacked on router: ngDestroy -> ngOnDestroy
closes #1690
2016-07-05 20:55:03 -07:00
Ward Bell e4c5fe32e7 docs(forms): fix import in sample HeroFormsComponent - @angular/common -> @angular/forms 2016-07-04 15:07:12 -07:00
Ward Bell dba3a8f9c9 docs: replace xxx.filter(...)[0] with xxx.find(...)
see #1801
2016-07-02 16:13:32 -07:00
Ward Bell fdbb7b5184 docs(router): clarify router redirect and link to Victor's blog post 2016-07-02 15:51:49 -07:00
Foxandxss 1900eb1c70 docs: replace terminal with pathMatch, base href with '/'
closes #1799
2016-07-01 16:32:39 -07:00
Patrice Chalin 0ba3d5d8d6 docs(dart/{quickstart,toh-[56]}): fix project names (#1773)
- Renamed `angular2_getting_started` to `angular2_quickstart` (to match
TS).
- s/-/_/g in project names elsewhere (only toh-5 & -6 needed to be
updated).

Fixes #378.
2016-07-01 11:05:45 -07:00
Foxandxss 4774f4861e chore: update router to beta 2 2016-07-01 08:00:50 -07:00
Naomi Black 314ff5627b chore(version): update the version to rc4 2016-06-30 13:08:08 -07:00
Patrice Chalin 7d50fa9302 post-review updates
Also cleaned up `makeExample`s (changing most to `makeExcerpt`).
2016-06-30 13:04:55 -07:00
Patrice Chalin 705d8c50fd docs(security): proofread prose, app now shows good and bad
- App now shows how Angular handles untrusted URLs and resources
- E2e test covered new functionality
- Copyedits to prose
- Updated provider expressions to use latest syntax

The original security feature tracker:
https://github.com/angular/angular/issues/8511
2016-06-30 13:04:55 -07:00
Foxandxss 909f230cc7 update router to beta.1 2016-06-30 13:04:04 -07:00
Foxandxss 10de4c5753 update in memory web api 2016-06-30 13:03:44 -07:00
Foxandxss 2379e8b86e update plunkers versions 2016-06-30 12:40:59 -07:00
Foxandxss 6a34dce5e0 remove linting for spec file 2016-06-30 12:40:59 -07:00
Foxandxss 94f5609506 add rc4 versions 2016-06-30 12:40:59 -07:00
Foxandxss 55af9fee49 fix upgrade tests to not use deprecated API 2016-06-30 12:40:01 -07:00
Filipe Silva aa8ab52937 chore: update to rc.4 2016-06-30 12:40:01 -07:00
eltronix 19d2e4ef4c Fixed typo 2016-06-30 11:51:53 -07:00
Zhimin YE (Rex) 43f400487e docs(router): explicit explaination of terminal property 2016-06-30 11:51:39 -07:00
Filipe Silva 387f7c6dd2 chore(deps): update in-memory-web-api 2016-06-30 11:50:43 -07:00
Karan Gandhi 461213996e docs(toh-5/ts): Minor error fixed.
There are no leading slashes in the path.
2016-06-30 11:49:52 -07:00
Filipe Silva e7bddeb5f9 chore(examples): revert back to stable TS
The new router once required TS1.9 but it doesn't anymore. It's best to revert our examples to TS 1.8 since that is what we tell users to install, and we want to be testing on the current setup.
2016-06-29 12:28:45 -07:00
eltronix bc0cb52851 Fixed typo 2016-06-29 12:28:24 -07:00
eltronix 2bd79e8482 Fixed Rendering error 2016-06-29 12:27:44 -07:00
priestch b21c90c358 fix(doc): fix 404 problem of some api url 2016-06-28 22:25:24 -07:00
Fabriece Sumuni 8d7e7a0187 fixed a formatting typo on line 1015 2016-06-28 16:18:12 -07:00
Naomi Black 28b5316727 docs(forms): add more to the top of doc warning about bootstrap 2016-06-28 16:08:38 -07:00
Naomi Black 8548d3cb06 chore(nav): update left nav to add glossary back 2016-06-28 13:58:30 -07:00
Patrice Chalin e5b11d456c docs(guide/attribute-directives): follow-up to #1654 (#1765)
- Updated Dart code to match TS.
- Ran dartfmt.
- Enabled e2e tests; suites passed:
  - public/docs/_examples/attribute-directives/dart
  - public/docs/_examples/attribute-directives/ts
- Prose copyedits.
2016-06-28 13:15:51 -07:00
Patrice Chalin f8e6b5d1f7 docs(toh-5/dart): make dashboard more robust (#1688)
Originally the dashboard TS expression ``heroes.slice(1, 5))` had been
written as:

> _heroService.getHeroes().getRange(1, 5)

which is brittle; it fails if there are not enough heroes. Slice
doesn't fail; an equivalent express
ion in Dart is

> _heroService.getHeroes().skip(1).take(4)

This is now used.

Other changes:
- Fix in css (missed TS-side update).
- Ran `dartfmt` on `heroes_component.dart`.
2016-06-28 13:15:29 -07:00
Patrice Chalin eda47f64e8 docs(guide/lifecycle-hooks): follow-up to #1654 (#1768)
Mainly Dart-side review, following #1654:
- Updates to follow style guide
- Enabled e2e tests
- Fixes to ensure tests pass: in after_view_component.dart and
after_content_component.dart
  - Changed test over comment field in template to be:
*ngIf="comment.isNotEmpty"
- Suites passed:
  public/docs/_examples/lifecycle-hooks/dart
  public/docs/_examples/lifecycle-hooks/ts
2016-06-28 13:13:58 -07:00
Patrice Chalin f06398cd89 docs(toh-6/dart): first edition of prose and example code (#1687)
* docs(toh-6/dart): first edition of prose and example code

NOTE: this PR depends on #1686.

Dart prose and example match TS except that:
- No child-to-parent event emission occurs.
- Support for Add Hero is added as an unconditional feature of the
Heroes view.
- http `_post` takes only a name
- http `delete` takes only a hero id.
- The Dart in-memory-data-service has been dropped in favor of an
implementation based on the "standard" `http.testing.MockClient` class.

* post-review changes
2016-06-28 13:12:49 -07:00
Brandon Roberts 97fbda0d76 docs(toh-6/ts): Upgraded http tutorial to use new router 2016-06-28 13:03:04 -07:00
Patrice Chalin b049c1bcf4 chore(guide/server-communication): fix indentation in Jade 2016-06-28 12:52:47 -07:00
Filipe Silva 58d20e57b5 chore: update ngSwitchWhen to ngSwitchCase
See https://github.com/angular/angular/commit/e1fcab7
2016-06-28 12:52:47 -07:00
Mark McEahern c467d56a2b Fix typo in first-app-tests.jade 2016-06-28 12:52:47 -07:00
Patrick McDonald adc04b6830 docs: Change LoggerService to Logger service
`LoggerService` implies that it will be written as such in the code, yet the hero.service.ts example has a service simply called `Logger` (which matches the Style Guide).
2016-06-28 12:52:47 -07:00
Brandon Roberts f3189546a6 docs(toh-5): Upgraded tutorial to new router 2016-06-28 12:52:47 -07:00
Rick Beerendonk 2eae445504 docs(template-syntax): correct hyperlink path to API documentation 2016-06-28 12:52:47 -07:00
Kai Ruhnau 26027105a7 docs(router): Fix the link to the APP_BASE_HREF page 2016-06-28 12:52:47 -07:00
eltronix 1c5be21b32 Fixed typo 2016-06-28 12:52:47 -07:00
Foxandxss c02b942008 chore: update to router alpha.8 2016-06-28 12:52:47 -07:00
Foxandxss c380d69ea1 chore: lock router-deprecated to rc.2 for plunkers 2016-06-28 12:52:47 -07:00
Patrice Chalin 283195685f docs(guide/user-input): follow-up to #1654 (#1770)
Mainly Dart-side review, following #1654:
- Updates to follow style guide
- Suites passed:
  public/docs/_examples/user-input/dart
  public/docs/_examples/user-input/ts

Note: the click-me2 component is not mentioned in the prose, maybe it
should be.
2016-06-28 08:25:12 -07:00
Patrice Chalin 3510f96620 docs(guide/pipes): follow-up to #1654 (#1769)
Mainly Dart-side review, following #1654:
- Updates to follow style guide
- Suites passed:
  public/docs/_examples/pipes/dart
- Suites failed (known issue - #1761):
  public/docs/_examples/pipes/ts
2016-06-28 08:22:53 -07:00
Patrice Chalin bacc4bcbac docs(guide/{di,ts,toh-[23]}): follow-up to #1654 (#1767)
Mainly Dart-side review, following #1654.
dependency-injection:
- Renamed components in providers_component.dart
- E2e suites passed:
  - public/docs/_examples/dependency-injection/dart
  - public/docs/_examples/dependency-injection/ts

template-syntax:
- Removed unused global variable.
- Suites passed:
  public/docs/_examples/template-syntax/dart
  public/docs/_examples/template-syntax/ts

toh-2 & 3:
- Clean-up.
2016-06-28 08:16:59 -07:00
Patrice Chalin 3fe0fb077c docs(toh-6/ts): minor edits and enhancements (#1686)
* docs(toh-6/ts): minor edits and enhancements

Changes to prose:

- Complete TODO item of displaying `heroes.component` errors.
- Mainly copyedits.
- Add of blocks statements so that prose can be used on Dart side.
- Show excerpt and briefly explain of changes (previously missing):
  - `app/hero-detail.component.html`
  - `app/heroes.component.ts` error handling
- Add missing file to changed/added files listing and makeTabs
  - `toh-6/ts/app/in-memory-data.service.ts,
  - `toh-6/ts/sample.css`

Code changes:

- Mainly copyedits
- Renamed `heroes.component.ts` `delete` to `deleteHero` to match
naming of other methods

* remove unnecessary change relative to toh-5
2016-06-27 11:23:27 -07:00
Patrick McDonald a843310e17 docs: Typo fix (an > a) (#1747) 2016-06-26 17:41:06 +01:00
Naomi Black 34b687df5b chore(security): remove redundant heading 2016-06-23 02:38:52 -07:00
Martin Probst 3905be89ef docs(security): Clarify template injection.
Also link to html5rocks docs on CSP.
2016-06-23 02:38:52 -07:00
Naomi Black 1149816dce chore(nav): a missing bit of metadata for the forms guide 2016-06-22 17:53:17 -07:00
Naomi Black 987fbad0f3 chore(nav): clean up left nav titles and alpha-sort them 2016-06-22 17:13:48 -07:00
Ricardo Torres e4f2a22014 fix(docs) router-deprecated still in rc.2 2016-06-22 15:20:44 -07:00
Torgeir Helgevold e41da11444 docs(forms): upgrading forms guide to new api
This PR upgrades the existing forms to the new API,
while leaving a copy for existing users.

The current forms will be the default until RC4, at
which point we will switch the default to the new API
but still retain a link to the old forms API.

After RC5 the old API docs will be completely removed.
2016-06-22 15:15:12 -07:00
Naomi Black 7d5614ef82 chore(version): bump the docs version to rc3 2016-06-22 15:07:34 -07:00
Filipe Silva 31d0c757d7 chore(style-guide): remove routing styles
Routing styles were breaking CI and are out of date, since we're using the 3.0.0 router.

We should remove them until we have recommendations.
2016-06-21 18:11:54 -07:00
Filipe Silva 7848feaeaa chore: update to rc3 2016-06-22 01:51:57 +01:00
Naomi Black 8ad5595a7c docs(security): make screenshot english and update tagline 2016-06-21 11:53:49 -07:00
Martin Probst fb179d9690 docs(security): Add security documentation.
Substantially rewritten, based on original content by Brian Clarkio and
Ward Bell and contributions from Naomi Black.
2016-06-21 10:51:25 -07:00
Filipe Silva 212183bbb7 fix(plunkers): fix form plunkers 2016-06-21 04:36:07 +01:00
Filipe Silva 9e1e5a1ef8 chore: add forms, update router 2016-06-20 19:57:16 -07:00
Torgeir Helgevold 3cb219c5ab docs(dynamic-cookbook): upgrade to use new forms api
convert exiting to use deprecated name

converted to new api

text

warnings

fix plunker

text

test weak

text

space

text

lint

order

tweak
2016-06-20 21:02:28 -04:00
Brandon Roberts 4e7318552d docs(router): Updated docs to reflect alpha 7 release 2016-06-20 16:55:07 -07:00
Filipe Silva 3db8642113 fix(quickstart): add styles.css to js quickstart
Fix #1684

While looking at this, I saw that plunkers were getting some unintended unit testing files and added them to the default plunker builder ignore.
2016-06-19 22:52:59 -07:00
Filipe Silva 61c85a92a4 chore: add async/await support to e2e tests 2016-06-17 10:43:16 -07:00
Filipe Silva 643c59a15e fix(e2e): update broken node typings 2016-06-17 13:52:30 +01:00
Naomi Black 787c0a2f36 docs(router): Hide deprecated router docs 2016-06-16 16:43:05 -07:00
Naomi Black da3d8f7f73 style(images): add image best practices to styleguide doc 2016-06-16 16:06:13 -07:00
Kathy Walrath 511ee3d8ed [WIP] Add link to AngularDart API docs 2016-06-16 13:37:44 -07:00
Brandon Roberts c61d8195f3 docs(router): update developer guide to new v.3 router 2016-06-16 13:24:49 -07:00
Foxandxss 3b4b79aeeb docs(animations): use our heroes 2016-06-16 18:55:17 +02:00
Foxandxss 30609c8f9c chore: update quickstart for rc2 2016-06-15 16:48:30 -07:00
Foxandxss 70b98176dd latest touches 2016-06-15 16:48:14 -07:00
Naomi Black a35e0fd4ef chore(docs): bump version to RC on boilerplate 2016-06-15 16:14:50 -07:00
Foxandxss 761ec00d02 chore: update in-memory-web-api 2016-06-15 15:15:35 -07:00
Foxandxss fcb3b447f8 chore: update webpack guide to RC2 2016-06-15 15:15:14 -07:00
Foxandxss 6821f89a1c docs(quickstart): add a section to installing typings manually 2016-06-15 15:15:00 -07:00
Foxandxss 8664463c3a remove future features for now 2016-06-15 15:14:45 -07:00
Foxandxss 34447904b9 make the example lintable 2016-06-15 15:14:45 -07:00
Foxandxss c0edf369f4 fix e2e specs 2016-06-15 15:14:45 -07:00
Tero Parviainen bead3620df docs(animate): add animations documentation 2016-06-15 15:14:45 -07:00
Patrice Chalin 82b4657422 chore(dart pubspec.yaml): consistent baseline (#1647) 2016-06-15 14:59:57 -07:00
Patrice Chalin 25dc59daac docs(toh-3/dart): copyedits (#1637) 2016-06-15 14:58:05 -07:00
Filipe Silva e9cf2a539f chore: update to rc2 2016-06-15 12:21:06 -07:00
Patrice Chalin cd970c21ad docs(toh-3/dart): copyedits and new snake_case glossary entry (#1629) 2016-06-15 10:49:42 -07:00
Patrice Chalin 6e5d8e6491 docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
Patrice Chalin 86084260e6 example(dart/quickstart): use <script defer> rather than async (#1665) 2016-06-14 15:37:58 -07:00
Deborah Kurata e7f3fc61ce docs(cb-vs2015) new cookbook for Visual Studio 2015 QuickStart
closes #1502
2016-06-13 23:55:14 -07:00
Filipe Silva c50954d5b8 chore: separate lint in travis 2016-06-14 01:01:34 +01:00
Patrice Chalin ca2e5c5d1d docs(toh-4/ts): copyedits
closes #1638
2016-06-13 11:40:30 -07:00
Patrice Chalin 5adbfb9502 chore(ignored/boilerplate files): cleanup
closes #1646
2016-06-13 11:33:12 -07:00
Helmi 7f256eea75 Fix typo in 'Simulating the web api' section.
closes #1655
2016-06-13 11:05:15 -07:00
Foxandxss 61ad427319 docs(toh): add missing snippets
closes #1649
2016-06-13 10:46:53 -07:00
Patrice Chalin fd46bf4970 docs(toh-5/ts): minor edits
closes #1644
2016-06-13 10:45:23 -07:00
Foxandxss 4dcea96b6d chore: better protractor task
closes #1641
2016-06-13 10:39:51 -07:00
Foxandxss ffbdcd2b9c chore: fix systemjs semicolons
closes #1632
2016-06-13 10:37:20 -07:00
Patrice Chalin 070cb5a193 docs(toh-3/ts): copyedits
closes #1630
2016-06-13 10:36:04 -07:00
Patrice Chalin 16848fc822 docs(toh-2/ts): copyedits
closes #1622
2016-06-13 10:34:19 -07:00
Patrice Chalin 59408b1784 test(toh-1): add e2e for Dart and TS
closes 1620
Contributes to #1619.
2016-06-13 10:30:18 -07:00
Patrice Chalin 2fc7e5ab50 docs(toh-1/ts): minor edits
closes #1615
- Fixed HTML.
- Removed unnecessary snippet since it is in the code.
- Copyedit: (Hero property) -> (hero property).
2016-06-13 10:28:04 -07:00
Brian Olore ce05f9b4f9 docs(style-guide): make each style clickable for easier referencing 2016-06-13 10:24:58 -07:00
Foxandxss 074a33a622 chore: tslint sweep done 2016-06-13 02:40:28 +02:00
Patrice Chalin 1cc5284cc2 docs(toh-2/dart): copyedits (#1621) 2016-06-08 16:24:56 -07:00
Patrice Chalin 3c77a7fcd1 docs(basics/di): minor edits following TS switch to provider object literal (#1600)
Minor edits:
- Dart side adjustments following #1594.
- Renamed example '3a' to just '3' and tweaked the logger message
- Removed obsolete Dart block.
2016-06-08 09:25:48 -07:00
Patrice Chalin 7db6684886 chore(dart): add/cleanup example hosting config files (#1605) 2016-06-08 08:02:57 -07:00
Foxandxss fb49cbe33f docs(cli-quickstart): add cli 5 min quickstart
closes #1606
2016-06-07 18:51:27 -07:00
Foxandxss f3205f5beb chore: first sweep on linting the codebase
closes #1616
2016-06-07 16:45:13 -07:00
Patrice Chalin 7e52648ee7 docs(toh): update live example links (#1602) 2016-06-07 15:51:25 -07:00
Patrice Chalin afee8dbe7e docs(toh-1/dart): minor edits (#1614)
- Fixed HTML.
- Removed unnecessary snippet since it is in the code.
- Copyedit (Hero Property) -> (Hero property).
2016-06-07 14:59:41 -07:00
jevonearth f7cf6fde9f docs(toh-6): Fix typo in 'Add/Delete in the HeroesComponent' section.
closes #1603
2016-06-06 17:28:07 -07:00
Ward Bell 06f8002417 docs(pipes): minor text updates
closes #1611
2016-06-06 17:17:50 -07:00
Foxandxss 21d74d531a chore: update all packages to latest versions
closes #1607
2016-06-06 12:24:25 -07:00
Georgios Kalpakas 2492ea6874 docs(upgrade): restrict component directive to elements
The `heroDetail` directive is shown as an example of a component directive, such as those built using the `.component()` helper in v1.5+. In order for the directive to be functionaly equivalent with the component directive created with `.component`, it needs to be restricted to elements only. (If the `restrict` is omitted, it defaults to `'AE'`, which would also match attributes.)

/cc @teropa
2016-06-05 14:59:19 +03:00
Foxandxss 885aa04cc9 docs(webpack): add missing fake-async-test
closes #1571
2016-06-04 01:44:21 -07:00
Foxandxss c185c3548c chore: use the provide object literal
closes #1594
replace `provide(...{use:...})` with `{provide: ..., use...}` syntax
2016-06-04 01:33:36 -07:00
twinssbc 6f02f76fc2 docs: remove duplicated words in toh-pt6.jade
closes #1575
2016-06-04 01:25:41 -07:00
Anastasia Kozaeva 2f3cb405e8 Fix typo in 'Error Handling' section
closes #1592
Remove duplicate 'to'
2016-06-04 01:24:00 -07:00
Zhimin YE(Rex) d5650500c8 Removed @View Decorator
closes #1590
2016-06-04 01:22:09 -07:00
Foxandxss 1d294a831c docs(upgrade): escape script tags
closes #1584
2016-06-04 01:17:27 -07:00
Foxandxss 8fe68f414a docs(style-guide): fix 03-03 css class
closes #1582
2016-06-04 01:15:13 -07:00
Ward Bell 7edc32f350 docs(testing): more samples 2016-06-04 00:52:36 -07:00
Patrice Chalin 05864c2584 docs(dependency-injection): revised Dart and TS code and prose (#1573)
docs(dependency-injection): revise Dart and TS code and prose
2016-06-03 11:16:46 -07:00
Patrice Chalin 7570dc53ea chore(dart/api): remove generated files (#1587) 2016-06-02 10:44:51 -07:00
Patrice Chalin b48cde3a43 chore(_util-fns): generalize makeExample, drop makeProjExample (#1510)
+ Rename adjustExample{Path|Title} to adjustTsExample*4Dart
+ `makeExample` can now work with both doc folder relative and project
relative paths.
2016-06-02 17:06:03 +01:00
Ward Bell 41947cbd1f chore: fix gulp serve-and-sync tasks and many broken example links
The serve-and-sync tasks wait for `_copy-example-boilerplate` to finish
Differentiates app compile, spec compile, and test failures
StyleGuide (for documentators) up-to-date
2016-06-01 16:17:06 -07:00
Foxandxss c2c3177545 chore: convert all e2e specs to typescript 2016-06-01 16:17:06 -07:00
Foxandxss 3c3b83a34b chore(e2e): append errors after a failed spec
closes #1579
2016-06-01 11:20:35 -07:00
Foxandxss 6fd62e9baf docs(style-guide): make style guide code compliant with itself
closes #1578
2016-06-01 11:15:57 -07:00
Foxandxss 0a0f78f144 docs(style-guide): make barrels a consider
closes #1482
2016-06-01 10:59:41 -07:00
Foxandxss 743540363d docs(style-guide): rename validator to validate
closes #1489
2016-06-01 10:57:11 -07:00
NFM 3d27aa656c docs(style-guide): add the image width attribute
closes #1366
Adjust width 100% to 80%
2016-06-01 10:54:48 -07:00
Anderson 301aadddde docs(toh-pt6): fix filename typo 2016-06-01 01:19:37 -07:00
Vikash 8569479423 docs: fix numerous typos in many doc files.
closes #1509
2016-06-01 01:08:56 -07:00
Zhimin YE(Rex) eb48a71351 docs(architecture): fixed missing `` mark.
closes #1514
2016-06-01 01:03:51 -07:00
Ward Bell 2f115a3425 chore: fix broken devguide links as of May 31
Did not fix broken Dart and API links
2016-06-01 00:52:22 -07:00
Maksims Muižininkas 613d53e152 docs(architecture): correct link to testing
closes #1536
2016-05-31 23:23:54 -07:00
Christopher Thorne 2d27097d55 docs(toh-pt6): correct DetailHeroComponent to HeroDetailComponent
closes #1550
2016-05-31 22:32:55 -07:00
Christopher Thorne 3d868da4b7 docs(toh-pt5): change getHero to match toh-pt6 getHero
closes #1551
2016-05-31 22:31:04 -07:00
Ward Bell 8a5df4cfa9 chore: support e2e-specs written in TypeScript
Update gulpfile and project to add a tsconfig to protractor test folders
Change all sample e2e-spec.js -> e2e-spec.ts
Split typings between e2e-spec & app code
Use same config for all e2e tests
Only 1/3 e2e specs truly converted.
Most don't pass because they fail TS transpile by Protractor due to missing type annotations
2016-05-31 22:03:13 -07:00
Ward Bell ae2d8f2730 docs(template-syntax): add brief example of HTML sanitization in binding.
Also clarified interpolation v. property binding example for PR #1564
2016-05-31 18:36:22 -07:00
Patrice Chalin 5e50b2ef10 chore(util-fns): minor cleanup and refactoring (#1562)
This only impacts language dependent variable and path definitions:
- Removed deprecated variable.
- Hoisted useful variable definitions from quickstart into _util-fns.
- Minor fix in regexp of path translation function
2016-05-31 15:25:59 -07:00
Foxandxss 2bc166c34f docs(toh): fix some header extensions
closes #1549
2016-05-29 14:36:10 -07:00
Foxandxss 9b2c54e77f chore: disable ngAnimate for ng1 protractor tests
closes #1543
2016-05-29 14:34:15 -07:00
Foxandxss 888dcf362a chore: remove note against node 6
closes #1540
2016-05-29 12:46:55 -07:00
Foxandxss 39408f8f8d docs(style-guide): remove dead code at 04-10
closes #1501
2016-05-29 12:44:46 -07:00
Foxandxss b962383193 chore: re-title webpack guide to emphasize "Webpack", not "Intro"
closes #1492
2016-05-29 12:27:44 -07:00
Foxandxss 0047919e2d docs(quickstart): update guide systemjs.config.js
closes #1542
2016-05-29 11:03:33 -07:00
Foxandxss f5614e858d docs(style-guide): add more tests
closes #1532
2016-05-28 09:41:15 -07:00
Foxandxss c2c6096bec docs(server-communication): fix anchor link
closes #1537
2016-05-28 09:38:26 -07:00
Tero Parviainen 4acbef19a8 docs(upgrade): add ngUpgrade guide version 2
closes #1538
This is a major reorganization of the Upgrade guide.

* Compatible with the new version of the AngularJS 1 PhoneCat
  tutorial.
* No longer switching Angular 1 code to SystemJS for PhoneCat,
  to allow beginning Angular 2 migration with fewer preparation
  steps. SystemJS switch now happens simultaneously with upgrade.
  (This is based on input from @joeeames)
* Testing moved to an appendix to make the main narrative
  shorter and easier to follow.
* Use component methods to do phone filtering and ordering
  instead of introducing pipes to replace filterFilter and orderByFilter.
* Cover issue with camelCase inputs on downgraded components.

For authors:

* All examples now fully integrated with the example boilerplate. Uses the
  same Angular 2 version as all other guides. E2E tests are executed
  along with all the others.
* Reduced number of PhoneCat versions from five to three.
* Each directory has a README explaining how to run it and what might
  be peculiar about it.

Closes angular/angular#8622
Relates to angular/angular.js#14416
Relates to angular/angular-phonecat#326
2016-05-28 09:33:06 -07:00
Ward Bell bd6d788ccb docs(chore): update samples to angular-in-mem-web-api v.0.0.11
Has RegExp query option needed for ToH 7: Http+Observables
2016-05-28 08:54:21 -07:00
Eric Jimenez a0a0e8f35c docs: align badges vertically within their container, remove shadow from content area 2016-05-26 09:22:25 -07:00
Filipe Silva 6c797d752a chore(travis): add Travis CI
closes #1526
2016-05-25 16:47:30 -07:00
Patrice Chalin a664f46231 docs(template-syntax): review and update Dart to new doc design (#1465)
* ts template-syntax.jade without docregion tags
* update guide/template-syntax for dart and ts
* clarify style property naming in Dart
2016-05-25 15:09:45 -07:00
Patrice Chalin e8f84cfc04 test(e2e/dart): enable Basics chapter e2e testing (#1524) 2016-05-25 13:12:36 -07:00
Patrice Chalin ed16d82335 chore(dart/_util-fns): make adjustTsExamplePath4Dart idempotent (#1515)
Fixes #1513.
2016-05-25 11:43:06 -07:00
Vikash Verma 551ac6dc9d docs: Fix typo (#1504) 2016-05-25 12:17:02 +01:00
Thibault Sottiaux df87178ef4 Update .docsync.json to make the JSON valid. 2016-05-24 22:19:39 +01:00
Torgeir Helgevold 1644673d6c docs(dependency-injection): show providers using map literals 2016-05-23 19:07:59 -07:00
Foxandxss 7f1412ca97 docs(style-guide): close the button at 09-01
closes #1490
2016-05-23 12:38:58 -07:00
Foxandxss 3a671bc912 docs(style-guide): add spaces at 04-10
closes #1488
2016-05-23 12:37:10 -07:00
Foxandxss 9784c2fa16 docs(style-guide): clean 05-15
closes #1487
2016-05-23 12:36:03 -07:00
Foxandxss 9ed12f465f docs(style-guide): rename toast selector
closes #1486
2016-05-23 12:35:18 -07:00
Foxandxss 7a43e0a548 docs(style-guide): use input at 05-12 for consistency
closes #1485
2016-05-23 12:33:13 -07:00
Foxandxss 915de49863 docs(style-guide): rename avoid template at 05-03
closes #1484
2016-05-23 12:32:26 -07:00
Foxandxss 9f3517529d docs(style-guide): remove non used examples
closes -1483
2016-05-23 12:28:41 -07:00
Foxandxss 020abd810f docs(style-guide): a service doesn't have a folder
closes #1481
2016-05-23 12:27:32 -07:00
Foxandxss 0e13763943 docs(style-guide): 03-02 pluralize villain
closes #1479
2016-05-23 12:20:25 -07:00
Foxandxss 508b779a41 docs(toh): add instructions to add the goBack method
closes #1478
2016-05-23 12:18:46 -07:00
Foxandxss 129b34c77e docs(toh): update HTTP chapter with style guide conventions
closes #1477
2016-05-23 12:15:10 -07:00
Shai Reznik 6475b5efab docs(style-guide): added the one more why on 02-02
closes #1473
2016-05-22 20:18:01 -07:00
Massimiliano Sartoretto 990a80ec9c docs(cheatsheet): remove outdated beta warning
closes #1472
2016-05-22 19:56:38 -07:00
Kyle Roberts 4ab05a9355 docs(Component relative paths): ofter -> often and colon
closes #1471
2016-05-22 19:54:47 -07:00
Foxandxss 4371465f4e docs(style-guide): add e2e tests 2016-05-22 16:40:40 +02:00
Foxandxss a775675ab8 docs(typings): update typings snippets for the guides 2016-05-22 01:59:40 +02:00
Ward Bell b25950090d docs(typings): install into globalDependencies, not globalDevDependencies 2016-05-21 16:49:00 -07:00
Ward Bell 60eeb0123a docs(typings): update typings chapter + update lingering old package references 2016-05-21 16:26:54 -07:00
Foxandxss 81ebdfb8ef docs: add strong advice on node and npm versions 2016-05-21 15:56:09 -07:00
Foxandxss 899bae64a9 docs(style-guide): add testing harness 2016-05-21 15:04:08 -07:00
Foxandxss 10b0cde8c0 docs(webpack): update typings 2016-05-21 23:49:05 +02:00
Ward Bell 4b104d7cc9 docs(testing): update testing setup to use systemjs.config.js 2016-05-21 14:31:22 -07:00
Ward Bell 650a4d17e8 docs(samples): package.json and typings updates 2016-05-21 14:15:48 -07:00
Foxandxss 33b5829b25 docs(toh): put a bit of clarification
closes #1352
2016-05-20 23:40:55 -07:00
Foxandxss 156b6f42ee docs(style-guide): fix example on 02-04
closes #1452
2016-05-20 22:55:37 -07:00
NFM 5a91b5442b docs(server-communication): Modify file name 'rxjs-operators'
Modify file name 'add-rxjs-operators.ts' to 'rxjs-operators.ts', according to real file name.
Ref: https://angular.io/resources/live-examples/server-communication/ts/plnkr.html
2016-05-20 22:52:44 -07:00
Ward Bell e188e472f1 docs(e2e-tests): improve gulp e2e tasks and fix samples that were failing 2016-05-20 20:33:38 -07:00
Ward Bell f9fea00824 docs(component-relative-paths): new cookbook 2016-05-20 20:33:38 -07:00
Patrice Chalin da48db3c77 docs(server-communication): cleanup, mainly for Dart (#1455)
- Dart code: fix issues raised by @thso during review.
- Dart code: remove "show x" clauses from imports.
- Dart add docsync config file.
- Prose: make consistent use of _Http variables; otherwise use "HTTP".
- Prose: add links to the demos list.

* _heroesUrl as static const
2016-05-20 17:14:37 -07:00
Patrice Chalin 6d2d52c588 docs(dart): cleanup 'live example' links (#1449)
This fixes various issues such as:
- missing space in Dart version between the live demo and demo source
links.
- Live example link directing to Plunker for Dart.

The main mixins (`liveExampleLink`*) used to support the generation of
links now assume reasonable default values for their arguments, and in
most cases the defaults are used.

* Dart example links: use http vs https

As agree to with @kwalrath.
2016-05-20 16:18:58 -07:00
Ward Bell 12984fda55 docs(testing): update samples & test config to RC1 2016-05-20 01:09:45 -07:00
Ward Bell 02767419ed chore: fix missed in-mem-web-api to v.0.0.9
closes #1447
2016-05-19 23:25:12 -07:00
Ward Bell 3423ad8491 chore: more conversion of es6-shim to core-js 2016-05-19 23:18:18 -07:00
Ward Bell 6e0f80c673 docs: update api-in-mem-web-api to v.0.0.8 2016-05-19 21:50:26 -07:00
Ramzi Samman feec37b784 docs(webpack): fix a typo in the dev guide
closes #1431
2016-05-19 19:24:29 -07:00
Foxandxss efbe3bbdfd docs(quickstart): fix broken region
closes #1438
2016-05-19 19:22:45 -07:00
Foxandxss bd52aa3f34 docs: complete es6-shim to core-js migration
closes #1442
2016-05-19 19:12:14 -07:00
Ward Bell 3324bd944d docs(toh-6): fix broken 'Add Hero' and fill in instructional gaps 2016-05-19 19:00:20 -07:00
Ward Bell ba02c40b56 docs: switch from es6-shim to core-js shim 2016-05-19 16:37:54 -07:00
Kathy Walrath 2dc60188c2 docs(dart): convert toh-5 to Dart (#1426)
Some issues remain (see #1426 review comments), but this is much better than nothing.
2016-05-19 08:03:23 -07:00
Ward Bell 29511831cd docs(server-communication): heavily refactored (TS & Dart) 2016-05-19 02:48:43 -07:00
Ward Bell a4bc455030 docs(toh): remove unneeded directive from heroes.component 2016-05-19 00:57:35 -07:00
Ward Bell e91659ac13 docs(tutorial/ts): delete tutorial sample in favor of toh-6 2016-05-19 00:30:30 -07:00
Torgeir Helgevold e4db340464 docs:(TOH chapter on Http) New Tour of Hero Chapter on Http 2016-05-18 23:38:08 -07:00
Ward Bell 31fe01e01f docs: SystemJS to use @angular umd bundles 2016-05-18 16:20:24 -07:00
Kathy Walrath a595eb81ef docs(dart): update BASICS intro (#1410)
Also copy edited the TS version a bit.
2016-05-18 13:43:02 -07:00
Patrice Chalin 5b1a84be4c chore(docs): revise makeExcerpt mixin, add makeProjExample mixin
Be more DRY when referencing examples and excerpts. E.g.,
```jade
+makeExcerpt('quickstart/ts/app/app.component.ts', 'import',
'app/app.component.ts (import)')
```
can now be just
```jade
+makeExcerpt('app/app.component.ts', 'import')
```
Defined new mixin for examples named `makeProjExample` using this new
scheme.
The original `makeExample` has been left untouched.

Applied new mixins to quickstart.

closes #1420
2016-05-18 10:27:51 -07:00
Albert Pai d152ea293e docs(cb-dependency-injection): Fix typos
closes #1421
2016-05-18 00:25:57 -07:00
Kathy Walrath 2810218b88 docs(quickstart): edit Dart & TS QuickStarts
closes #1411
2016-05-17 14:17:43 -07:00
Patrice Chalin 6751f779d0 test(e2e/dart): add support for Dart e2e testing
closes #1369
Add `--lang` option whose values are any combo of `(ts|js|dart)`
default is `(ts|js)`
`--lang=all` runs all language tests;
2016-05-17 10:31:49 -07:00
Ward Bell 594079970c docs(http): remove status 200 guard and add RxJS operators individually 2016-05-17 01:45:52 -07:00
Ward Bell f5a9edc68c docs(quickstart): say 'My First Angular 2 App' 2016-05-16 23:16:11 -07:00
Foxandxss 0123076a79 chore: remove typings.d.ts from style guide
closes #1404
2016-05-16 21:50:55 -07:00
Eric Jimenez 0ae7ade9fa feat(shorter lines): encapsulate all doc guides within a 10 sized column, including banners. Use showcase. Adjust for mobile 2016-05-16 15:40:32 -04:00
Tero Parviainen ba47da0d70 docs(upgrade): bring phonecat up to speed with rc.1. Use router-deprecated.
closes #1357
2016-05-15 19:48:13 -07:00
Patrice Chalin fedc39dd52 docs(quickstart-ts/dart): updated prose and example code; consolidate for TS&Dart
closes #1396
2016-05-15 19:26:45 -07:00
Foxandxss a3400d035c docs(webpack): use rimraf to clean dist
closes #1393
2016-05-15 16:16:40 -07:00
Foxandxss 0c49b50cbe docs(webpack): fix tests sourcemaps / clarify logo image download
closes #1399, 1395
2016-05-15 16:08:38 -07:00
Foxandxss fca9671680 docs(style-guide): lift main.ts to src folder
closes #1390, #1361
2016-05-15 15:44:32 -07:00
Mike Hartington 738207affd docs(style-guide): added ng2 snippets for vim
closes #1381
2016-05-15 15:29:47 -07:00
dreambo8563 eec5c00fc0 docs(component-communication): remove _ from private _timerComponent 2016-05-15 15:26:04 -07:00
Kyle Roberts c2339c156d docs(glossary): promises point to dead link, update to mozilla link
closes #1365
2016-05-15 14:59:20 -07:00
Ward Bell e9dd6334e4 docs(plunker): use the FrankWallis TS plugin (thx Filipe!) 2016-05-15 14:49:09 -07:00
escardin aa65f0cf44 docs(webpack) missing word 2016-05-13 14:07:57 -07:00
Foxandxss 81a87c2bfb docs(webpack): remove barrel
closes #1389
2016-05-13 14:05:20 -07:00
Patrice Chalin ad95b04e69 docs(dev guide): pipes - new Dart prose, update Dart and Ts code (#1353)
+ guide/pipes/ts: update docs and example code

+ guide/pipes/dart: new prose, updated example code

+ fix platform_directives reference; html cleanup

+ enable pipes e2e testing
For `e2e-spec.js`: If the async test is executed too early it will fail
(simply because the async message hasn’t been received yet).

+ follow new constants naming convention
2016-05-13 21:44:14 +01:00
Patrice Chalin c1440e7eff [review-pending] docs(dev guide): server-communication - new prose
New Dart prose, update Dart and Ts code

+ guide/server-communication/ts: update to docs and example code
+ guide/server-communication/dart: new prose, update example code
+ ignore all npm-debug.logs
+ make Jade ul li TOC elements more compact.
2016-05-13 21:32:54 +01:00
Ward Bell 9b27bfb61e docs(webpack): checkin missing snippets; .js->.ts
closes #1375
2016-05-12 18:18:21 -07:00
Foxandxss 96238bbfab docs(cb-webpack): add guide chapter about webpack 2016-05-12 17:22:14 -07:00
Ferdinand Malcher aaa927bc43 docs(glossary): export in barrels
closes #1326
The example is about exports, so no imports here
2016-05-11 20:19:40 -07:00
Aristeidis Bampakos cc450ad6e8 docs(npm-packages): Fixed several typos 2016-05-11 20:07:40 -07:00
Aristeidis Bampakos 6a1e6e3bf6 docs(hierarchical-dependency-injection): Fixed typo
closes #1345
Fixed typo with the word "possibility"
2016-05-11 19:33:17 -07:00
Aristeidis Bampakos 9f267ca80f docs(forms): Typo - missing space before "Now we can control"
closes #1343
2016-05-11 19:30:49 -07:00
Dmitri Suvorov 33745ec220 docs(tutorial): fix typo (slowy -> slowly)
closes #1332
2016-05-11 19:24:00 -07:00
Brian McDaniel 064936012f docs(component-styles): fix typo (withing -> within)
closes #1330
2016-05-11 19:22:31 -07:00
Oren Farhi 82a5bfc5bf docs(style-guide): added ng2 snippets for sublime text
closes #1328
2016-05-11 19:20:01 -07:00
Ferdinand Malcher 8b19a5622a docs(glossary): input decorator in same line
closes #1327
According to styleguide the @Input() decorator should be placed in the same line
2016-05-11 19:06:09 -07:00
blAck PR 5eb0dbc517 docs(style-guide): fix #1289 BAD FILENAME
closes #1290, #1289
Change structure to match style-04-06 as proposed by mrkiffie; fix double back slash
2016-05-11 18:58:21 -07:00
Gregor Woiwode f6f407275f References snippets for atom 2016-05-11 18:53:09 -07:00
Ferdinand Malcher 1674f10a00 docs(styleguide): typo "hightlight"
closes #1287
2016-05-11 18:50:39 -07:00
Ward Bell e99e9185ba docs(index.html) remove extra space in `System.import`line. 2016-05-11 18:42:31 -07:00
Ward Bell 19b50c82f6 docs(plunker): revise systemjs.config for plunker to load fewer files 2016-05-11 18:42:13 -07:00
Ward Bell 2e486cc046 docs(typings): add typings.d.ts for module.id and __moduleName; update docs
closes #1355 and #1312
2016-05-11 13:20:42 -07:00
Foxandxss c8bdbd5ea9 docs(toh): link to deprecated router
closes #1309
2016-05-10 21:56:19 -07:00
Ward Bell 19bf5f6689 docs(router-deprecated): fix example links that weren't to deprecated code
closes #1340
2016-05-10 21:40:09 -07:00
Foxandxss 14262e3b6a docs(router-deprecated): link doc to deprecated examples
closes #1291
2016-05-10 21:34:07 -07:00
Foxandxss 142ad5dd19 docs(quickstart): fix broken file-listings and reveal some systemjs when not verbose
Closes PRs #1304 and #1324 and issues #1303 and #1321
2016-05-10 21:17:49 -07:00
Kyle Roberts 45b5053fed docs(hierarchical DI): typos "it's" and add commas
closes #1288
2016-05-10 20:24:08 -07:00
Foxandxss 93a8925b10 docs(style-guide): update 10-01 for new router
closes #1281
2016-05-10 20:17:11 -07:00
Foxandxss ba3c0ab7a0 docs(quickstart): fix a numeric typo
closes #1279
2016-05-10 20:13:45 -07:00
Foxandxss 039f54d9e2 docs(server-communication): fix broken example 2016-05-10 20:10:18 -07:00
rexebin 89f9ea146c Update question-control.service.ts
closes #1095
control value now will be initialized with 'question.value', regardless if the control has validation of 'required' or not.
2016-05-10 16:40:53 -07:00
Foxandxss 64babe2a69 docs(displaying-data): add table of contents 2016-05-10 16:22:38 -07:00
Patrice Chalin ef66e38e54 docs(dev guide): Update 'Component Styles' prose (#1320)
Reowork Ts prose and add Dart prose/code

+ Updates to docs and example code

(Starting point for Dart code was taken from #1171.)
2016-05-10 08:51:23 +01:00
Terry Moore II f3c83b0869 Rename fodlers to folders 2016-05-09 23:17:57 -07:00
Patrice Chalin f30d71a3cc docs(dev guide): cleanup of deprecated Jade mixin (#1322)
Replace uses of `liveExLinks` mixin and then deleted its definition.
2016-05-09 21:13:50 +01:00
Patrice Chalin 1c0218bc79 docs(dev guide): attribute-directives - move html excerpt to .html file (#1313)
Jade can’t parse inlined Angular adorned HTML properly, so it is best
to put such source in a file and include with `makeExample`.
2016-05-06 18:18:48 +01:00
Patrice Chalin e958be24bf docs(dev guide): attribute-directives - updated dart/ts code and new dart prose
Mainly copyedits and prep for extension

+ example code cleanup & bug fix
+ fix bug in default color initialization
2016-05-06 15:42:01 +01:00
Patrice Chalin ac92e77611 docs(dev guide): lifecycle-hooks - updated dart/ts code and new dart prose
Mainly copyedits, but also

- Dart .jade extends TS .jade file with minor overrides
- Significant update of example code (so it matches the ts example in its
appearance and behavior).
- Tweaks to Dart code.
- A few extra/corrected mixin definitions in `_util-fns.jade`.
2016-05-06 14:17:34 +01:00
Patrice Chalin ce6c645501 docs(dev guide): structural-directives - ts minor edits, dart first versiondocs(dev guide): structural-directives - ts minor edits, dart first version (#1277)
Copyedits and other minor edits for TS
+ first version of the chapter for Dart
2016-05-04 13:18:38 +01:00
Foxandxss 81209a1d0b docs(quickstart): update to new world 2016-05-03 17:34:48 -06:00
Ward Bell b4f567458e docs(ts/js): update to rc1 2016-05-03 17:29:00 -06:00
Ward Bell 6dfae3a407 docs(style-guide): fix some typos (missed one) 2016-05-03 16:29:21 -06:00
Foxandxss 8d5d614c42 docs(style-guide): fix some typos
closes #1275
2016-05-03 16:26:40 -06:00
Tero Parviainen da45504907 docs(pipes): change description for parameters to reflect change in beta.16
closes #1197
2016-05-03 16:15:15 -06:00
NFM fea2d1f0f6 docs(quickstart.jade): Modify "Typescript type definition file" link up-to-date url
closes #1262
2016-05-03 16:05:01 -06:00
Michel D'HOOGE 44f63f9907 docs(npm-packages): typo ES6 = ES2015
closes #1263
2016-05-03 16:02:16 -06:00
Dan Smith 59c1e1def4 docs(quickstart): fix misplaced close paren 2016-05-03 17:54:54 -04:00
Ward Bell 2842058a30 docs(router): document new router and samples - phase 2 2016-05-03 15:51:24 -06:00
Foxandxss 596825a8b1 docs: update all docs to partially comply the style-guide 2016-05-03 12:42:44 -06:00
Ward Bell 2ccdd867d2 docs(router): samples and doc for new router (phase 1) 2016-05-03 09:18:18 -06:00
Ward Bell f513ee83c7 docs(samples): removed unused typings excludes from tsconfig 2016-05-03 01:45:27 -06:00
Foxandxss 3f50248940 docs(style-guide): revisions for New World (repack)
closes #1260
2016-05-03 00:42:02 -06:00
Ward Bell cadd6c9823 docs: switch to commonjs module generation 2016-05-03 00:01:55 -06:00
Ward Bell 3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -07:00
Robert Messerle 49908bb1b4 converts docs landing template to use layout classnames rather than attribute syntax 2016-05-02 19:55:59 -07:00
Eric Jimenez 5ce56598f5 feat(docs landing): new docs landing 2016-05-02 19:55:59 -07:00
Foxandxss d941353957 docs(style-guide): fix merge issues
closes #1244
2016-05-02 08:57:35 -07:00
Foxandxss 66764fec7e docs: fix a few typos
closes #1239
2016-05-01 16:17:05 -07:00
John Papa bbd7d79a76 docs(style-guide): add style-guide - v.6 2016-05-01 16:08:45 -07:00
Foxandxss f4223c7049 docs(lifecycle-hooks): update directive selector to camelCase
closes #1236
2016-05-01 15:19:12 -07:00
Foxandxss 6c0c6357a9 docs: rename heros to heroes 2016-05-01 23:04:47 +02:00
John Papa ddfbbb5ebb docs(style-guide): add style-guide - v.5 2016-04-30 23:03:19 -07:00
Patrice Chalin 3aa533f61b chore(dart): pipes example rolled back to beta.15
The pipes example stopped working in beta.16; roll it back to the
last known working version. 

See earlier commit for code changes necessary in support of beta.16:
https://github.com/angular/angular.io/commit/0557c728d75e519bc6846b37492
414dff540c6ee
2016-04-30 15:06:00 +01:00
Patrice Chalin ff20b55975 chore(dart & ts): update to beta.17
Change `ngFor=“#…”` to `ngFor=“let…` in code. All are .dart files
except for `app_component.html` which also has changes for:
- `<inpuf var-foo…`> to `<input ref-foo…>`
- `#docregion` tag name updates from var-foo to ref-foo.
- Other misc updates to minimize diffs with TS version of file,
whitespace differences were ignored.

+ Minor update to sync up Dart prose with TS prose.

+ Used
https://github.com/angular/angular/wiki/Angular-2-Dart-Transformer#resol
ved_identifiers to solve
https://github.com/angular/angular.io/issues/1033

Guide/pipes not updated as it will be rolled back to
beta.15 in PR #1220.
2016-04-30 15:01:16 +01:00
Filipe Silva ebc022e475 docs: update prose for the `let` change to ngFor 2016-04-28 18:37:45 -07:00
Filipe Silva 216120daba chore: update to beta.17
closes #1213, 1205
2016-04-28 18:31:00 -07:00
Patrice Chalin 1e64d9e57a docs(guide/dart): hierarchical-dependency-injection without copying
closes #1207
This uses a simpler way to render Dart prose from TS prose without
making a copy. This will make it _much_ easier to keep the two in sync.
2016-04-28 17:03:28 -07:00
Patrice Chalin 0557c728d7 chore(dart): updating to beta.16
closes #1192

Updated docs and samples to beta.16.

For this first time, among other things, I payed particular attention
to the changes that were made on the `ts` side of things
(https://github.com/angular/angular.io/pull/1178). Since I wrote it up
in my notes, here is the check list of `ts` updates with notes about
how there might be corresponding changes on the Dart side:

- public/docs/_examples/cb-dependency-injection/ts/app/main.ts
- public/docs/_examples/cb-ts-to-js/ts/app/main.ts
  - cb not in Dart docs yet.
- public/docs/_examples/dependency-injection/ts/app/car/car-injector.ts
-
public/docs/_examples/dependency-injection/ts/app/injector.component.ts
  - Updated Dart example code to avoid null argument.
- public/docs/_examples/homepage-hello-world/ts/index.1.html
- public/docs/_examples/homepage-tabs/ts/index.1.html
- public/docs/_examples/homepage-todo/ts/index.1.html
- public/docs/_examples/package.json
  - N/A for Dart.
- public/docs/_examples/pipes/ts/app/app.component.html
- public/docs/_examples/pipes/ts/app/app.component.ts
- public/docs/_examples/pipes/ts/app/exponential-strength.pipe.ts
- public/docs/_examples/pipes/ts/app/fetch-json.pipe.ts
- public/docs/_examples/pipes/ts/app/random-pipe.component.ts
  - Dart version of sample code is incomplete, but did run in beta.15.
  - Example no longer runs, see
https://github.com/angular/angular/issues/8258
- public/docs/_examples/quickstart/js/package.1.json
- public/docs/_examples/quickstart/ts/package.1.json
- public/docs/_examples/router/ts/app/main.2.ts
- public/docs/_examples/testing/ts/app/mock-router.ts
  - N/A for Dart.
- public/docs/js/latest/_data.json
- public/docs/ts/latest/_data.json
  - Dart equivalent updated.
- public/docs/ts/latest/guide/dependency-injection.jade
  - No need to update since it imports the TS version.
- public/docs/ts/latest/guide/pipes.jade
  - Not in Dart prose yet.
- tools/plunker-builder/indexHtmlTranslator.js
  - N/A for Dart.
2016-04-28 15:32:16 -07:00
John Papa d5e909bde0 docs(style-guide): add style-guide - v.4 2016-04-28 00:52:20 -07:00
Ward Bell b5ffe70579 docs(testing): simplify extracting directive 2016-04-26 22:03:07 -07:00
Ward Bell 4bbaac127d docs(testing) adapt sample code to beta.16 breaking changes 2016-04-26 21:38:02 -07:00
Naomi Black 097505b4e8 docs(title): update a parenthetical comment in the title cookbook 2016-04-26 10:55:31 -07:00
Ward Bell 1dd9c6bfc5 docs(samples): add lodash to samples package.json 2016-04-26 09:45:52 -07:00
Filipe Silva 0a606a1b41 chore(ts): updating to beta.16 2016-04-26 00:22:25 -07:00
John Papa 3bc94147a7 docs(style-guide): add style-guide - v.3
closes #1170
2016-04-25 22:24:37 -07:00
Ward Bell 269269a54d chore: revert `sendKeys` change from e1862887
closes #1175
2016-04-25 15:49:38 -07:00
Eric Jimenez 8f158f2241 docs(sidenav reorg): remove glossary and cheatsheet from REFERENCE. Move glossary to BASICS. Rename REFERENCE to API REFERENCE 2016-04-25 14:10:57 -07:00
thso 085e495c07 Merge pull request #1164 from kwalrath/hdi-dds
docs(dart): proposed text for linking to Dart samples
2016-04-25 22:09:31 +01:00
Ward Bell c9efac746c docs(style-guide): add style-guide - v.2 2016-04-25 09:18:23 -07:00
Kathy Walrath 7a0d2f6956 docs(dart): proposed text for linking to Dart samples
This PR uses hierarchical-dependency-injection as the guinea pig. The text is similar to what's used in copyedited TS pages such as https://angular.io/docs/ts/latest/guide/displaying-data.html.
2016-04-25 02:48:08 -07:00
Ben Nadel c9d405062d docs(cb-set-document-title): new "Set Title" cookbook chapter
closes #1069
2016-04-23 14:56:56 -07:00
unexge 634e50aaca docs(architecture): small tweaks
closes #1101
2016-04-23 14:44:38 -07:00
Foxandxss be90e27fc6 docs(dynamic-form): fix link from js to ts
closes #1136
2016-04-23 14:33:50 -07:00
Patrice Chalin 11b6fefa7b docs(guide/ts): hierarchical-dependency-injection copyedits
closes #1146
Copyedits found during creation of Dart version.
2016-04-23 14:26:36 -07:00
Foxandxss 4097c67b59 chore: rename Elvis to safe navigation operator
closes #1139
2016-04-23 14:22:57 -07:00
Patrice Chalin 9ec291d63d docs(guide/dart): hierarchical-dependency-injection
* A full first version of the prose. Makes use of Dart example, of
course.
* Tweaks to Dart example code; manually tested in Dartium under checked
mode.

closes #1142
2016-04-22 16:56:27 -07:00
Ward Bell e1862887ae docs(testing): more testing samples and infrastructure setup
added wallaby config; revised karma-test-shim
2016-04-22 13:24:44 -07:00
Eric Jimenez b130056613 docs(sidenav): Restylize sidenav 2016-04-22 14:56:43 -04:00
Aristeidis Bampakos 8a49b4a41c docs(component-styles): Small typo fixes
Small typo fixes
2016-04-20 13:16:22 -07:00
Aristeidis Bampakos c9b66ea04d docs(upgrade): Small typo fix
Small typo fix
2016-04-20 13:15:50 -07:00
Foxandxss e039c6f718 docs(toh): remove @Input decorator in part 5 2016-04-20 13:15:14 -07:00
Kathy Walrath 9b9e6ddf0f samples(dart): tweak template-syntax sample
closes #1130
2016-04-20 11:28:42 -07:00
Kara 258014c9de docs(forms): fix bootstrap typo 2016-04-19 20:48:21 -07:00