angular framework code example
Example 1: angular
1: npm install -g @angular/cli
2: ng new my-dream-app
3: cd my-dream-app
4: ng serve
Example 2: angular
steps to install angular
step 1 :Install node
download link=>https://nodejs.org/en/
step 2 :Install angular Cli with Command prompt
npm install -g @angular/cli
step 3 : checking the installed angular version
ng --version
Initializing angular 10 project :
ng new my-raj-app (here "my-raj-app" is App name)
your project is initialised:
go inside the project and run it with:
ng serve -o
done ....!! Happy coding..!! -rajesh reddy:)