Coding task · Angular course · Module 3: Modules

Practice: Shared Module

A SharedModule gathers reusable elements used in many modules and hands them out. It often also hands out the module with Angular's basic directives, so you don't have to import it in every module separately.

Task

Complete the SharedModule so that it makes ButtonComponent available to other modules, together with the module that provides the *ngIf and *ngFor directives and the async pipe.