We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 645b2cd commit daaea12Copy full SHA for daaea12
README.md
@@ -69,11 +69,11 @@ One way is to assign the subscription to a class property and manually unsubscri
69
private subscription: Subscription;
70
71
ngOnInit() {
72
-this.subscription = timer(0, 1000)
73
- .subscribe(() => {
74
- this.counter++;
75
- this.titleService.setTitle('Counter ' + this.counter);
76
- });
+ this.subscription = timer(0, 1000)
+ .subscribe(() => {
+ this.counter++;
+ this.titleService.setTitle('Counter ' + this.counter);
+ });
77
}
78
79
ngOnDestroy() {
0 commit comments