I want to change the user status on click of a Button, so all I am doing is, detecting the current status and changing, if needed.
But in this case the changes the s
I had this problem in AngularJS and in Firefox. (Reloading was fine in Chrome). By using setTimeout problem solved.
setTimeout(function(){ window.location.reload(); });