I'm trying to unit test a controller which has a method called results and inside has a $http.get API request.
Could someone please explain how to go about testing the $http.get request? I've looked at using $httpBackend but am unable to put together code that works.
Jasmine: jasmine.github.io/2.4/introduction.html