diff --git a/aio/content/guide/what-is-angular.md b/aio/content/guide/what-is-angular.md index e65449e5fa5c2..2c48a488e3034 100644 --- a/aio/content/guide/what-is-angular.md +++ b/aio/content/guide/what-is-angular.md @@ -311,6 +311,7 @@ Standalone components are a new organizational pattern that were introduced in A For example, in the traditional NgModule pattern, you would need to create a TodoModule and manage all of its dependencies through this module. ```ts (Todo.module.ts) +import {NgModule} from '@angular/core'; import {FormsModule} from '@angular/forms'; import {TodoList} from '../todo/todo-list.component'; @@ -325,7 +326,6 @@ export class TodoModule {} However, you can now achieve something similar with a standalone component without the need for a module file: ```ts (Todo.component.ts) -import {NgModule} from '@angular/core'; import {FormsModule} from '@angular/forms'; import {TodoList} from '../todo/todo-list.component';