Which command allows you to add a new capability, like Angular Material, to your Angular application using Angular CLI?
- ng new
- ng add
- ng generate
- ng install
To add a new capability or library to your Angular application, such as Angular Material, you can use the "ng add" command. This command not only installs the library but also performs any necessary configuration, making it a convenient way to enhance your project.
Loading...
Related Quiz
- To dynamically create a component and attach it to a specific location in the view, you'd use the ______ along with ComponentFactoryResolver.
- What is the role of Value Accessors in Angular forms?
- For handling complex state transitions in Ngxs, one would utilize ________.
- To define specific styles that apply only to a component and do not affect any external elements, you'd set the component's encapsulation property to ViewEncapsulation.______.
- For which purpose might you consider using dynamic components in Angular?