This repository is to show all the possible ways of routing in Angular.
- Routing navigation, Parent -> Child
- Routing navigation, Parent -> Child -> Grandchild -> Great-Grandchild
- Routing with param.
- Routing Animation.
- Authenticated Route.
- Broadcast from Great-Grandchild to directly Parent.
Note: you can define custom animation for specific route inside route-animation.ts. And assing that to specific routes in app-routing.module.ts. Learn more about route animation. Link
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
- Star - If you like it
- Fork - If you like to build your own version
- File an issue - If you found a bug
- Send a pull request - If you want to contribute