TypeScript open-source web application framework. The Angular Team uses the typescript language.
Angular base on Component uses the angular Component to create a responsive web layout.
- And many more
What is the angular version?
Angular version numbers have three parts:
Example: version 7.2.11
October November 2019 ^8.0.0
May 2020 ^9.0.0
More version details
How to Install angular?
First setup environment for Angular development using the Angular CLI tool. Use the CLI, create an initial workspace and starter app, and running that app locally to verify your setup.
Step 1:Install the Node.JS
First, install node.js on your machine. Make sure Node.js version 10.9.0 or latest.
- To check your version, run node -v in a terminal/console window.
- To get Node.js, go to nodejs.org download it.
Step 2: Install the Angular CLI
You use the Angular CLI tool to create a project, generate application and library code, and perform various ongoing development tasks such as testing, bundling, and deployment.
Make sure to install the Angular CLI globally.
To install the CLI using npm command:
npm install -g @angular/cli
Step 3: Create the first App:
To create a new workspace or app:
- run the CLI command in terminal ng new and provide the name my-app, as shown here:
ng new my-app
Step 4: Run the application.
The Angular CLI includes a server so that you can easily run an app on the browser.
- Go to the workspace folder (my-app).
- Launch the server by using the CLI command ng serve, with the — open option.
cd my-appng serve --open
The — open (or -o) option automatically opens your app in the browser (default ) to http://localhost:4200/.
Note: First, go to the workspace folder, then use the ng serve command.
Angular 8 home page in your browser.