fulls1z3 / ngx-meta

Dynamic page title & meta tags utility for Angular (w/server-side rendering)
MIT License
333 stars 47 forks source link

Set dynamic meta tags to use api call #192

Closed jaythakur closed 4 years ago

jaythakur commented 5 years ago

Hello,

This is my code.

canActivate: [MetaGuard], data: { meta: { title: 'Home page', description: 'Description of the home page' } } But i am confused about to set dynamic title and description. I want to set a different title for every route. I call static API to get title and description.

How can I do this task? or do I need to create resolver?

please reply ASAP