Search⌘ K
AI Features

Members List Module

Explore how to build the Members List feature module in Angular by generating components, managing input properties for event data, updating templates to display member lists, and integrating testing to ensure proper functionality within an event view page.

We can proceed to the feature module, now that our service methods are ready.

ng g module member-list
ng g component member-list
Terminal 1
Terminal
Loading...

We’ll begin by creating a module and component for our new feature. Because this feature exists within our event view page (like comment-create), there’s no need for the --routing flag. The first command, ng g module member-list, has created one file:

CREATE src/app/member-list/member-list.module.ts

The second command, ng g component member-list, has created four files and updated one:

CREATE src/app/member-list/member-list.component.css
CREATE
...