angular-cn/public/docs/_examples/toh-5/dart/lib
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
..
app_component.css docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
app_component.dart docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
app_component_1.dart docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
app_component_2.dart docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
dashboard_component.css docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
dashboard_component.dart docs(toh-5/dart): make dashboard more robust (#1688) 2016-06-28 13:15:29 -07:00
dashboard_component.html docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
dashboard_component_1.dart docs(dart): update to b12 2016-03-25 17:40:23 -07:00
dashboard_component_2.dart docs(toh-5/dart): make dashboard more robust (#1688) 2016-06-28 13:15:29 -07:00
hero.dart docs(toh-5/dart): make dashboard more robust (#1688) 2016-06-28 13:15:29 -07:00
hero_detail_component.css docs(toh/dart): add toh-5 sample files and link to them 2016-03-16 19:56:56 -07:00
hero_detail_component.dart docs(toh-5/dart): make dashboard more robust (#1688) 2016-06-28 13:15:29 -07:00
hero_detail_component.html docs(toh/dart): add toh-5 sample files and link to them 2016-03-16 19:56:56 -07:00
hero_service.dart docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
heroes_component.css docs(toh-5/dart): make dashboard more robust (#1688) 2016-06-28 13:15:29 -07:00
heroes_component.dart docs(toh-5/dart): make dashboard more robust (#1688) 2016-06-28 13:15:29 -07:00
heroes_component.html docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
mock_heroes.dart docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00