How to always run some code when a promise is fulfilled in Angular.js How to always run some code when a promise is fulfilled in Angular.js angularjs angularjs