angular
angular copied to clipboard
Read router params in the title property using string interpolation
Description
Is it possible to just read the params of the router with string interpolation without making a resolver or injecting the Title?
Proposed solution
{
path: ':productId',
component: ProductComponent,
title: `Product details: ${:productId}`
}
Alternatives considered
Or any other better solution?