What isAangular.js

Angular.js is a javascript library framework written in typescript.

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.

Angular feature:

  1. Component
  2. Directives
  3. Modules
  4. Forms
  5. Services
  6. Http
  7. And many more

What is the angular version?

Angular version numbers have three parts:

1. major

2. minor

3. patch

Example: version 7.2.11

version:

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:

  1. 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.

  1. Go to the workspace folder (my-app).
  2. 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.

--

--

--

JavaScript || Reactjs || Nextjs || Python || Rust || Biotechnology || Bioinformatic || Front-end Developer || Writer || https://officialrajdeepsingh.dev/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How this drawing changed me as a developer

Adding Multiple Values to Radio Buttons

An easy-to-use Vue3 data table component

Using Chart JS in react

JavaScript: Altering content based on the date

YouTube Video | JavaScript Form Validation

Travel-Blog Project

Snapshot testing

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rajdeep singh

Rajdeep singh

JavaScript || Reactjs || Nextjs || Python || Rust || Biotechnology || Bioinformatic || Front-end Developer || Writer || https://officialrajdeepsingh.dev/

More from Medium

React vs Angular: Which One to Choose for Your App

React vs Angular: Which One to Choose for Your App

Angular vs React: The Complete Comprehensive Comparison

Advice Generator App(Frontend Mentor)

What’s a Framework or library in Javascript?

Framework and Libraries in Javascript by 404answernotfound