Complete the code to create a new Angular component using the CLI.
ng generate [1] my-new-componentThe Angular CLI command ng generate component creates a new component.
Complete the code to create a component with inline styles using the CLI.
ng generate component my-inline-style --[1]The --inline-style flag tells Angular CLI to put styles inside the component file.
Fix the error in the command to create a component without a separate folder.
ng generate component my-component --[1]The --flat flag creates the component files in the current folder without a new folder.
Fill both blanks to create a component with inline template and skip test files.
ng generate component my-special --[1] --[2]
--inline-template puts the template inside the component file.--skip-tests prevents creating test files.
Fill all three blanks to create a component with inline template, inline styles, and no test files.
ng generate component fancy --[1] --[2] --[3]
--inline-template puts the template inside the component file.--inline-style puts styles inside the component file.--skip-tests prevents creating test files.