You are on page 1of 2

Angular is a framerwork.

Java script
clinet side application
SPA (single page application)
part of the page relaod asynchronously effecting the other thing
modular approach
[admin]:--
[customer]:--
[Home]:--
routing
form validation

google+microsoft

html
css
type script

i)first we have to install node of lts version


https://nodejs.org/en/download
node.js

cmd : node --version

ii)cmd:
npm install -g @angular/cli

specific version if u want to download:


npm install -g @angular/cli@13.0.0
iii)If u want to check version
ng version

iv)At u have to create folder


cmd :ng new projectname(weekend)
ng new weekend

v)To run ur project


a) cd weekend
b)ng serve

component base architecture

app.component.html
h1>

{{name}}
</h1>

<router-outlet></router-outlet>

----------------

app.component.css
h1{
background-color: aqua;
color:white;
}
----------------------
app.component.ts
import { Component } from '@angular/core';

@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
name = 'Shibu';
}

You might also like