Skip to content

Commit 78f98ef

Browse files
authored
Merge pull request #1 from cibucristi/patch-3
Updated Angular's link to the new Angular website.
2 parents a8a3f65 + cc2c5a5 commit 78f98ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ However, module classes themselves cannot be injected as providers due to [circu
151151

152152
#### Global modules
153153

154-
If you have to import the same set of modules everywhere, it can get tedious. Unlike in Nest, [Angular](https://angular.io) `providers` are registered in the global scope. Once defined, they're available everywhere. Nest, however, encapsulates providers inside the module scope. You aren't able to use a module's providers elsewhere without first importing the encapsulating module.
154+
If you have to import the same set of modules everywhere, it can get tedious. Unlike in Nest, [Angular](https://angular.dev) `providers` are registered in the global scope. Once defined, they're available everywhere. Nest, however, encapsulates providers inside the module scope. You aren't able to use a module's providers elsewhere without first importing the encapsulating module.
155155

156156
When you want to provide a set of providers which should be available everywhere out-of-the-box (e.g., helpers, database connections, etc.), make the module **global** with the `@Global()` decorator.
157157

0 commit comments

Comments
 (0)