EP 122 Angular Routing Route Configuration
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=lHWEGb7AE4s
📚 Read the book 👉 https://go.asim.dev/angular-book • 🔥 Level up your JavaScript 👉 https://go.asim.dev/advjs • 🌿 If you find my videos useful please consider planting a tree for me 👉 https://go.asim.dev/trees • 🎥 Watch the full playlist 👉 https://go.asim.dev/angular-playlist • The best place to view the code associated with this course is in the online book (https://go.asim.dev/angular-book) via the book if a lecture has code associated with it, it then also has a link to a stackblitz instance so you can run and edit the code sample online. • • A route in our application is defined by a mapping of a URL to a component or a redirect to another URL. • We can create an array of Routes and then install them in our application by importing them into our NgModule using RouterModule.forRoot(routes). • In this lecture, we’ve shown how we can configure routes and manually type in the different URLs in the address bar to make the application render different components depending on which URL the user visits. • Next, we’ll show how you can navigate between these different routes in Angular without having to manually type the URL into the browser address bar.
#############################
