Angular 1 - How to create an Angular application

How to create an Angular application




  • To create an Angular application we should download and install node.js in our machine.Because it provide required libraries to run Angular application.


  • After installing node.js in your machine , run following commands step by step to create Angular application.
  • npm install -g @angular/cli  


  • ng new my-dream-app

  • cd my-dream-app
     
  • ng serve  

  • After running following commands,open a web browser and type localhost:4200 .Now you have  created a initial Angular application.



Comments

Post a Comment

Popular posts from this blog

Angular 6 - Data Binding Part 2

Machine Learning

Selenium - 1