handle errors universally with $httpProvider

and make it look all pretty with ngAnimate