Skip to content

Comments

docs: convert remaining @NgModule provider examples to bootstrapApplication#32840

Open
yogeshwaran-c wants to merge 1 commit intoangular:mainfrom
yogeshwaran-c:docs/remaining-ngmodule-to-standalone
Open

docs: convert remaining @NgModule provider examples to bootstrapApplication#32840
yogeshwaran-c wants to merge 1 commit intoangular:mainfrom
yogeshwaran-c:docs/remaining-ngmodule-to-standalone

Conversation

@yogeshwaran-c
Copy link

What kind of change does this PR introduce?

Documentation update.

What is the current behavior?

Several component and CDK docs still use @NgModule blocks for provider
configuration examples, and some prose references mention "root module"
instead of "app config".

Relates to #32709

What is the new behavior?

Convert all remaining @NgModule provider examples to bootstrapApplication
and update prose references from "root module" / "NgModule" to "app config".

Files changed

File Changes
src/youtube-player/README.md 2 @NgModule -> bootstrapApplication, remove YouTubePlayerModule reference
src/material/stepper/stepper.md 3 @NgModule -> bootstrapApplication, remove MatStepperModule import
src/material/form-field/form-field.md 2 @NgModule -> bootstrapApplication
src/material/chips/chips.md @NgModule -> bootstrapApplication, fix code fence from html to ts
src/material/select/select.md @NgModule -> bootstrapApplication
src/material/input/input.md @NgModule -> bootstrapApplication
src/cdk/overlay/overlay.md @NgModule -> bootstrapApplication
src/material-experimental/README.md @NgModule with declarations -> standalone @Component with imports

Additional context

This continues the work from #32815 and #32825 to systematically convert
all @NgModule patterns in the documentation to the standalone
bootstrapApplication pattern used since Angular v17+.

@pullapprove pullapprove bot requested review from ok7sai and wagnermaciel February 23, 2026 21:23
@angular-robot angular-robot bot added the area: docs Related to the documentation label Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Related to the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant