0% found this document useful (0 votes)
29 views1 page

Angular

Angular 6 is a JavaScript framework for building web applications using components/services architecture rather than model view controller used in AngularJS. The Angular CLI is used to generate Angular applications and components using commands like ng new to create a new project, ng generate to create reusable modules and components, and ng serve to automatically detect code changes during development.

Uploaded by

Right Path
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views1 page

Angular

Angular 6 is a JavaScript framework for building web applications using components/services architecture rather than model view controller used in AngularJS. The Angular CLI is used to generate Angular applications and components using commands like ng new to create a new project, ng generate to create reusable modules and components, and ng serve to automatically detect code changes during development.

Uploaded by

Right Path
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Angular6 ---

Angular 6 is a JavaScript framework for building web applications


or front end application and apps in JavaScript, html, and TypeScript, which is
a superset of JavaScript.
The structure of Angular is based on the components/services architecture.
AngularJS was based on the model view controller.

The first step is to launch up your terminal or command prompt.


1-npm install -g @angular/cli
2-NPM as Maven. Like Maven download the dependencies the plugins for you.
check the version of the Angular CLI is by saying ng version.
ng version --- Gives you what version of AngularCLI do you have.
ng new ---- which is present over here is used to create an angular App.
ng generate --- built using modules, components, reuse the initial code for those
modules and components.
ng serve --- I make a code change. The change would be automatically picked up
by the application.

use the command ng new <the name of the project>


ex- ng new todo.

run the application--- ng <space> serve

You might also like