Hi all,

I'm completely new to both dart and angular, so sorry for the basic 
question. I've been working through this tutorial:
https://angular.io/docs/dart/latest/tutorial/toh-pt5.html

and have hit a snag I can't figure out. During the routing section, one of 
the steps has you replace a line in dashboard_component.html with
<a *ngFor="let hero of heroes" [routerLink]="['./HeroDetail', {id: 
hero.id}]" class="col-1-4">

but doing so breaks the app. With that line in place, I get the error
Uncaught Error: Component "DashboardComponent" has no route config.

when I try to run the app, the hero slots on the dashboard are empty, and 
you can't navigate to them. I'm on dart VM 1.20.1 and angular 2.0.0.

In the course of looking into this, I noticed even the hosted copy has the 
same problem:
http://angular-examples.github.io/toh-5/dashboard

So that leaves me wondering if the tutorial might be out of step with 
angular. Does anyone have any insight?

thanks much!

-- 
You received this message because you are subscribed to the Google Groups 
"angular-dart" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular-dart+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular-dart.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular-dart/2723446f-125b-46d4-b10b-e15a2072b4bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to