angular 4
DESCRIPTION
PromisesTRANSCRIPT
-
ADeepDiveintoPromisesAtthispoint,letsquicklydiveintothepowerfulconceptthatarepromises.PromisesinAngularJSarebasedonKrisKowalsQproposal,whichisastandardized,convenientwayofdealingwithasynchronouscallsinJavaScript.ThetraditionalwaytodealwithasynchronouscallsinJavaScripthasbeenwithcallbacks.Saywehadtomakethreecallstotheserver,oneaftertheother,tosetupourapplication.Withcallbacks,thecodemightlooksomething