Currently, I am in the process of setting up a mailing application. In order to capture user activity when they first load the page, I am performing a POST request to the database with the userId and date information.
Upon successful completion of the POST request, I intend to display these values in the view as well.
Within my constructor function, I have included the following code snippet:
requestService.acknowledgeRequest($stateParams['programId'], $stateParams['requestId'])
.then(() => {
});
My question is, how can I refresh the ng-binds on the page after the post has been successfully completed?
Thank you! Best regards, Brent.