Write the cli command to generate a component in angular 4?
Answer / Prateek Sahai
In Angular 4, you would use the `ng generate component` command to create a new component. However, Angular 4 has been replaced by Angular 5 and later versions. If you're working with an older project, the command might still be valid.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is spa in angular?
What is the difference between $http and $resource?
Why angular is so popular?
What is ng stand for?
Explain event emitters in angular 2 and how it works?
What are directives in angular7?
Should you use angular?
What are the key components of angular?
Difference between sessionstorage, cookies, and localstorage.
What is material design angular?
What are scopeless controller in angularjs? Why to use them?
How to use $routeparams in generating the templateurl?