Wrapped $http method calls in scope.$apply to allow compatibility with Angular 1.1+

Apologies for the unfortunate diff.