Reynald walks us through code implemented for routing in the movie.router, our movie details page, along with its class file. He then covers updates made to the movie.service.ts for retrieving single movie records. Next are code reviews of app.routing and movie.module. This all is part of the first of two set of changes.
- [Instructor] Angular's a sophisticated framework,…and the routing process has a lot to it.…It's not just a matter of setting up a few links…here and there, and then you're done,…but the sophistication does pay off in the long run…as your application gets larger.…So, I wanna go through a few steps that I've completed…in order to set up the routing process to show…our detail page.…One of the first things that I want to point out…is documentation to get more information about routing,…because just recently, the routing process has changed,…and so it's good to get familiar with where…the documentation is, and on Angular's site,…you can actually search for routing and navigation…and get the latest information that's needed…to make sure that your code is up-date.…
So let's go ahead and walk through the steps…that I've completed.…The first thing that I did is created a routing class,…and that is under our apps folder,…and within movies, you'll see there's movie.routing.ts.…And within here, I indicated the imports that I needed,…
- Creating components
- Bootstrapping components
- Working with templates
- Using directives and interpolation
- Binding and transforming data
- Creating advanced and nested components
- Creating services
- Obtaining data with HTTP calls
- Configuring routes
Skill Level Intermediate
1. Course Overview
3. Directives, Interpolation, and Templates
5. Advanced Components
7. Obtaining Data with HTTP
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.