Skip to content

Commit dc7ae9a

Browse files
marcjulianAndrewKushnir
authored andcommitted
docs(router): add missing inject import
1 parent db3614f commit dc7ae9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adev/src/content/guide/routing/define-routes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ For advanced scenarios where you need centralized control over how the document
325325
`TitleStrategy` is a token you can provide to override the default title strategy used by Angular. You can supply a custom `TitleStrategy` to implement conventions such as adding an application suffix, formatting titles from breadcrumbs, or generating titles dynamically from route data.
326326

327327
```ts
328-
import {Injectable} from '@angular/core';
328+
import {inject, Injectable} from '@angular/core';
329329
import {Title} from '@angular/platform-browser';
330330
import {TitleStrategy, RouterStateSnapshot} from '@angular/router';
331331

0 commit comments

Comments
 (0)