ui: Display ajax spinner when $http is working