diff --git a/adev/src/content/guide/forms/signals/validation.md b/adev/src/content/guide/forms/signals/validation.md index 522bd0b746d..7faa70704b7 100644 --- a/adev/src/content/guide/forms/signals/validation.md +++ b/adev/src/content/guide/forms/signals/validation.md @@ -140,7 +140,7 @@ registrationForm = form(this.registrationModel, (schemaPath) => { The validation rule only runs when the `when` function returns `true`. -Note: `required` treats an empty array as present (valid), so use [`minLength()`](#minlength-and-maxlength) to enforce a minimum number of array items. +NOTE: `required` treats an empty array as present (valid), so use [`minLength()`](#minlength-and-maxlength) to enforce a minimum number of array items. ### email() diff --git a/adev/src/content/guide/routing/define-routes.md b/adev/src/content/guide/routing/define-routes.md index bf336dc33e5..735a0cbcb28 100644 --- a/adev/src/content/guide/routing/define-routes.md +++ b/adev/src/content/guide/routing/define-routes.md @@ -42,7 +42,7 @@ export const routes: Routes = [ ]; ``` -Tip: If you generated a project with Angular CLI, your routes are defined in `src/app/app.routes.ts`. +TIP: If you generated a project with Angular CLI, your routes are defined in `src/app/app.routes.ts`. ### Adding the router to your application @@ -140,7 +140,7 @@ const routes: Routes = [ In this routes array, the app displays the `NotFound` component when the user visits any path outside of `home` and `user/:id`. -Tip: Wildcard routes are typically placed at the end of a routes array. +TIP: Wildcard routes are typically placed at the end of a routes array. ## How Angular matches URLs diff --git a/adev/src/content/guide/routing/route-guards.md b/adev/src/content/guide/routing/route-guards.md index b67c8b23046..14949dbf7e4 100644 --- a/adev/src/content/guide/routing/route-guards.md +++ b/adev/src/content/guide/routing/route-guards.md @@ -62,7 +62,7 @@ export const authGuard: CanActivateFn = ( }; ``` -Tip: If you need to redirect the user, return a [`URLTree`](api/router/UrlTree) or [`RedirectCommand`](api/router/RedirectCommand). Do **not** return `false` and then programmatically `navigate` the user. +TIP: If you need to redirect the user, return a [`URLTree`](api/router/UrlTree) or [`RedirectCommand`](api/router/RedirectCommand). Do **not** return `false` and then programmatically `navigate` the user. For more information, check out the [API docs for CanActivateFn](api/router/CanActivateFn). diff --git a/adev/src/content/tools/devtools/router.md b/adev/src/content/tools/devtools/router.md index 1f19f8565c5..6edaf864baf 100644 --- a/adev/src/content/tools/devtools/router.md +++ b/adev/src/content/tools/devtools/router.md @@ -21,7 +21,7 @@ When you select a specific route in the tree, Angular DevTools displays its prop - **Auxiliary**: Indicates if the route is an auxiliary route (e.g., in a named outlet). - **Lazy**: Indicates if the route is lazily loaded. -Note: Properties like Path Match, Data, Resolvers, Guards, Providers, Title, and RunGuardsAndResolvers only appear in the sidebar when they are configured on the selected route. +NOTE: Properties like Path Match, Data, Resolvers, Guards, Providers, Title, and RunGuardsAndResolvers only appear in the sidebar when they are configured on the selected route. ### Navigate to a specific route