You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -685,10 +685,10 @@
685
685
@Injectable()
686
686
export class UserProfileService {
687
687
constructor(private http: HttpClient) { }
688
-
}
689
688
690
-
getUserProfile() {
691
-
return this.http.get(this.userProfileUrl);
689
+
getUserProfile() {
690
+
return this.http.get(this.userProfileUrl);
691
+
}
692
692
}
693
693
```
694
694
3. Create a component for subscribing service:
@@ -1502,4 +1502,4 @@
1502
1502
| AngularJS | Angular |
1503
1503
|---- | ---------
1504
1504
| Dependency injection tokens are always strings | Tokens can have different types. They are often classes and sometimes can be strings. |
1505
-
| There is exactly one injector even though it is a multi-module applications | There is a tree hierarchy of injectors, with a root injector and an additional injector for each component. |
1505
+
| There is exactly one injector even though it is a multi-module applications | There is a tree hierarchy of injectors, with a root injector and an additional injector for each component. |
0 commit comments