README
ngx-dynamic-breadcrumbs
Angular lightweight breadcrumbs
Install
Run npm i ngx-dynamic-breadcrumbs
to install.
Usage
- Import BreadcrumbsModule into your root module.
- Create a resolver, inject BreadcrumbsService. If you need some data from back-end, fetch it, and using rxjs tap operator, set breadcrumbs array. If you want to hide breadcrumbs for specific routes, use clear() method of BreadcrumbsService.
- Add the resolver to route
Customization
It is possible to customize a divider: