docs: fix typo in guide (#33155)

PR Close #33155
This commit is contained in:
Yulia Tsareva 2019-10-14 23:59:00 +03:00 committed by Miško Hevery
parent 64aae3a9df
commit 5265b74138
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ Providers can also be scoped by injector through constructor parameter decorator
</code-example> </code-example>
Using the `@Self` decorator, the injector only looks at the component's injector for its providers. The `@SkipSelf` decorator allows you to skip the local injector and look up in the hierarchy to find a provider that satisfies this dependency. The `sessionStorageService` instance interacts with the `BrowserStorageService` using the `sessionStorage` browser API, while the `localStorageService` skips the local injector and uses the root `BrowserStorageService` that uses the `localStorage` browswer API. Using the `@Self` decorator, the injector only looks at the component's injector for its providers. The `@SkipSelf` decorator allows you to skip the local injector and look up in the hierarchy to find a provider that satisfies this dependency. The `sessionStorageService` instance interacts with the `BrowserStorageService` using the `sessionStorage` browser API, while the `localStorageService` skips the local injector and uses the root `BrowserStorageService` that uses the `localStorage` browser API.
{@a component-element} {@a component-element}