Skip to content

This repository is to show all the possible ways of routing in Angular.

License

Notifications You must be signed in to change notification settings

ShrinathGupta/Angular-Route-Demo

Repository files navigation

Angular-Route-Demo

This repository is to show all the possible ways of routing in Angular.

Features

  • 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

Demo

Play with it

Development server

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.

Build

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.

Contribute

  • 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

About

This repository is to show all the possible ways of routing in Angular.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published