Answer the question
In order to leave comments, you need to log in
Why are Tour Heroes requests going to app/heroes?
I can’t understand why requests in the dock https://angular.io/docs/ts/latest/tutorial/toh-pt6.html go exactly to app/heroes , because we didn’t indicate anywhere that we have such a router. connect only InMemoryWebApiModule
Answer the question
In order to leave comments, you need to log in
Routes have nothing to do with it, it's just an appeal to the server. This is just an example.
in app/app-routing.module.ts we include constants in the form const routes: Routes = [
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question