Add note about non-obvious usage
This commit is contained in:
parent
5005e7d5ad
commit
9900e7233c
@ -16,6 +16,8 @@ import {
|
|||||||
})
|
})
|
||||||
export class Settings {
|
export class Settings {
|
||||||
constructor(private settings: SettingsService, private title: Title) {
|
constructor(private settings: SettingsService, private title: Title) {
|
||||||
|
// SettingsService is loaded here so the same instance is available
|
||||||
|
// to all child components.
|
||||||
title.setTitle('TaskBoard - Settings');
|
title.setTitle('TaskBoard - Settings');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user