angular-docs-cn/public/_includes
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
..
_banner.jade banner for dart and image fix 2015-04-23 08:58:53 -07:00
_cta-bar.jade chore(quickstart): change learn in 5 mins text 2015-12-08 17:24:23 -08:00
_footer.jade launch(china): announce angular.cn 2016-07-11 22:45:23 -07:00
_head-include.jade feat(app): add and use `copy-button` and `copy-container` directives 2016-01-21 22:38:19 -08:00
_hero-home.jade banner(angularconnect): add an ac promo to the banner 2016-07-29 15:23:03 -07:00
_hero.jade docs(api/dart): add support for generation and display (#1888) 2016-07-15 14:10:12 -07:00
_hover-card.jade harp(update): var changes to allow use with harp 0.17.0 2015-07-28 00:14:34 -07:00
_logo-shield.jade sub header, cta bar, logos, announcement 2015-02-26 21:30:06 -08:00
_main-nav.jade chore(resources): update resources links and header and footer 2016-04-29 22:57:18 -07:00
_next-item.jade chore: update next-item for hidden 2016-08-05 17:04:57 -07:00
_scripts-include.jade docs: revert Jade to markdown 2016-07-05 23:03:30 -07:00
_util-fns.jade docs(toh-5): TS/Dart review, and Dart resync (#2115) 2016-08-17 13:31:40 -07:00
_version-dropdown.jade Fixed shifting content on page load 2016-04-22 15:49:10 -07:00