Professional Documents
Culture Documents
Angular Training @banglore
Angular Training @banglore
document
form
elmenr
function child(){}
child.prototype=new Person();// Person is another function
c=new child();
c.v1;//v1 is public variable in peerson abd we can acces
c.v6;//
node js : exute js
typescript
-----------------
sayHello=function(name:string)
{return "Hai"+name;
};
//lamda function one delcartion many impleemntaion, head input tail proces outpput
x=>x.anme
ts can complile to js
tsc compile
node execute
class keyword
constructor keyesord
class A(
constructir(){}
play(){}
)
static keyword
Any keyword
super Keyword
inopertaor
instanceof operot
ANgular CLI
Day2
-----------------
Fromgroup
formcontrol
model driven (dynamic) is the best appriach. All control in devlopers hand and easy
to test
custom directive
Day 3
-------------------
Pipes
custom pipes
Async pipes
Lifecycle hooks
oninit(), onchnge(), ondestoryc(unscribe)
Day 4
---------------------
Routing
safeguard
resolver
Unit testing
security
request come - tken genrated from serer -- store into local storge
next request come -- interceptor will attach the taken -- send to server -- server
validate