Angular - intro
Angular - intro
History of Angular:
In 2010, google developed a JS framework called
'Angular JS' which is used with JS but due to dynamic typing of js, it got multiple
probelms.
In 2012, microsoft created TS. Due to that, In 2013, Google added TS to Angular
JS and implemented new version called
' Angular ' or Angular 2 or Angular+
Eg: gmail
Angular ---- let x:number =20;
Angular JS --- let x=20;
Installing angular:
i. To install angular, your system must have npm and tsc(you need to download and
install nodejs and install typescript,
:npm install -g typescript")
2. goto cmd and type "npm install -g @angular/cli@latest"
3. check the version by typing "ng v" in cmd