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?
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