MarkTechson/introduction-to-angular

Compiled succesfully: but no results after searching for Chicago!

Opened this issue · 2 comments

Hi Mark,
I have this question. I look at your YouTube video (https://www.youtube.com/watch?v=8Sia39ab4sc) and i noticed that the code in the video differs from the code you uploaded here.
app-routing.module.ts here does not have this line of code
{ path: 'details/:id', loadChildren: () => import('./details/details.module').then(m => m.DetailsModule) }
For me this is confusing.
Also: in your video you made a .ts file that is called: location.ts
Whereas here you named it housing-location.ts.
I figured out how to solve this :)
Also the home.component.html file in the vid differs from the file on Github (the section class search-results)

when i run ng serve, all the files are compiled succesfully. But when i start the app in my browser and want to find Chicao, no results come up
In the Inspector this message comes up "Uncaught TypeError: ng.probe is not a function"
I can't figure out how to solve this

Can You help me out?

Thanks
Mark

"and want to find Chicao" > i mean Chicago !!

Hi @MarGer1962 -

There's a much more up-to-date example. Try this one:

https://www.youtube.com/watch?v=qxchrt04bTA

Also, here's an updated repository as well:
https://github.com/angular/introduction-to-angular