In this video, learn how to use the RouterModule to register the configured routes in the application.
the next step is to let the app module know about them. … and HTTP module. … That's because the router module is designed … to be used to set up multiple route configurations. … that returns an object of type module with providers. … This object contains exported directives and providers, … as well as a configured router, … and is intended for the app route module. … The router module … so we can add router module … to the list of imports at the top. … we can add an export of a variable named routing, … and set that equal to a call to RouterModule.forRoot. … ForRoot expects an array of route objects, … getting it ready for use in the appRoutes module. … and add an import statement for the routing. … Then add routing to the import array … With that, our app module is aware of the routes we set up, … It is also set up to use the router module directives … is just part of the routing story. … …
- What is Angular?
- Working with components
- Binding events and properties
- Getting data to components
- Using directives and pipes
- Creating Angular forms
- Validating form data
- How Angular does dependency injection
- Making HTTP calls
- Styling components
Skill Level Intermediate
Angular: Building an Interfacewith Ray Villalobos2h 20m Intermediate
1. Architecture Overview
3. Directives and Pipes
5. Dependency Injection and Services
8. Styling Components
Next steps1m 20s
- 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.