Dynamic page title & meta tags utility for Angular (w/server-side rendering) by @fulls1z3
- updates the page title and meta tags every time the route changes, based on Angular app’s route configuration.
- You can install using
The following package(s) have no dependency for , however may provide supplementary/shorthand functionality:
Add for in your
Import using the mapping and append or properties to the route definitions at app.routes (considering the app.routes is the route definitions in Angular application).
- Import using the mapping and append within the imports property of app.module (considering the app.module is the core module in Angular application).
- These default meta settings are used when a route doesn’t contain any settings in its property.
- When a function is supplied, the will try to retrieve contents of meta tags (except and ) using the specified .