angular-cn/public/docs/_examples/toh-5
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
..
dart docs(toh-5/dart): make dashboard more robust (#1688) 2016-06-28 13:15:29 -07:00
ts docs(toh-5): Upgraded tutorial to new router 2016-06-28 12:52:47 -07:00
e2e-spec.ts chore: add async/await support to e2e tests 2016-06-17 10:43:16 -07:00