Skip to content

Commit 368656a

Browse files
Update content/application-context.md
1 parent b33ba73 commit 368656a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/application-context.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ The standalone application object allows you to obtain a reference to any instan
2424
const tasksService = app.get(TasksService);
2525
```
2626

27-
To access the `TasksService` instance we use the `get()` method.
28-
The `get()` method acts like a **query** that searches for an instance in each registered module. You can pass any provider's token to it. Alternatively, for strict context checking, pass an options object with the `strict: true` property. With this option in effect, you have to navigate through specific modules to obtain a particular instance from the selected context.
27+
To access the `TasksService` instance we use the `get()` method. The `get()` method acts like a **query** that searches for an instance in each registered module. You can pass any provider's token to it. Alternatively, for strict context checking, pass an options object with the `strict: true` property. With this option in effect, you have to navigate through specific modules to obtain a particular instance from the selected context.
2928

3029
```typescript
3130
@@filename()

0 commit comments

Comments
 (0)