Added mockBackend method to page to allow mocking out of httpBackend