S:1 E:6
Deciding What’s Next
Asynchronous process flows that are handled by promises are all about clarity of code and outcomes. Here, we will learn about various ways to set callbacks for each case are success only, failure only, both success and failure. Fulfilling promises is similar to a try catch clause; Angular added finally callback to handle case where something needs to be done regardless of success or fail.