Services Tutorial

1 view
Skip to first unread message

jla...@hawk.iit.edu

unread,
Aug 9, 2016, 11:08:47 PM8/9/16
to Angular2
In the Angular 2 Services Tutorial (https://angular.io/docs/ts/latest/tutorial/toh-pt4.html), the documentation seems to have forgotten to include the directive HeroDetailComponent. If you see the Plunk Implementation for this part, as well as the documentation source code, app.component.ts does not include the HeroDetailComponent at all, even though it does display it in the browser.

In the Plunk sample, this is fixed in the files app.module.ts and main.ts; however, the documentation has no mention on changes made so far to these files nor about removing the directive HeroDetailComponent from the AppComponent.

I think that this conflicts the learning flow of people going through the Angular2 Documentation, even though it clearly runs well on the Plunk implementation, the documetation does not support it.

Reply all
Reply to author
Forward
0 new messages