ng new component code example Example: generate new component angular ng generate <schematic> [options]