Problem Statement
Summarize common Angular decorators and their purpose.
Explanation
@Component marks a class as a component. @Directive defines a directive. @Pipe defines a pipe. @NgModule groups declarations and imports. @Input binds a property from parent to child. @Output emits events to the parent. @Injectable makes a class available to DI and can declare providedIn scope.