0.0.4 • Published 6 years ago
ngx-route-history v0.0.4
ngx-route-history
An Angular service to automatically track route changes and store previous routes
- Run
npm install ngx-route-historyin your Angular project - Import
RouteHistoryServiceinto the top level module importsRouterModule - Inject
RouteHistoryServicewherever you'd like to use it - The properties
currentRouteandpreviousRouteprovide, you guessed it, the current route url and the previous route url