Join Gary Simon for an in-depth discussion in this video Angular router, part of Angular 2+: Creating CRUD Apps.
- [Instructor] At the beginning of this chapter,…we added the routing flag…when we used the Angular command interface tool…to generate the project.…Now this creates an app-routing file for us…that allows us to specify routes for different components…and we can also pass in URL parameters…which is useful for communicating unique identifiers…for performing CRUD operations.…Now, going back to our console,…let's stop our ng serve command by hitting control + c,…and y for yes, and we'll use the CLI…to generate a new component.…
So ng g for generate, and we could put in component…or simply shorthand c for component…and then the name of the component,…and we'll name it about.…All right, so let's go ahead and visit our code editor…and let's also visit the app-routing module file…that the CLI generated when we started the project.…Source, app, and app-routing.module.ts.…Okay, so first let's import the new AboutComponent…that we just created.…
Okay, now if I hit Refresh by the way,…we'll see our AboutComponent in here.…All right, now going back, what we do to define our routes,…
- Angular Firebase CRUD
- Firebase setup
- Starting a project
- Defining the template
- CRUD apps with MongoDB
- MongoDB setup
- Creating a data service
- Home component
- Creating, updating, and deleting articles
Skill Level Intermediate
Angular 2: Widget-Based Architectureswith Derek Peruo52m 18s Intermediate
Angular 2 Essential Trainingwith Justin Schwartzenberger2h 45m Intermediate
1. Required Understanding
2. Angular Firebase CRUD
3. CRUD Apps with MongoDB (Back End)
4. CRUD Apps with MongoDB (Front End)
- 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.