Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Update documentation for the mock $httpBackend #3075

Closed
wants to merge 1 commit into from
Closed

Update documentation for the mock $httpBackend #3075

wants to merge 1 commit into from

Conversation

mbyio
Copy link

@mbyio mbyio commented Jun 26, 2013

The example either does not work with the latest version of angular.js or it is unclear. Many comments on the documentation page for $httpBackend indicate that it is unclear. By looking at other sources I identified the issues and made some changes to make the example code work.

The example either does not work with the latest version of angular.js or it is unclear. Many comments on the documentation page for $httpBackend indicate that it is unclear. By looking at other sources I identified the issues and made some changes to make the example code work.
@petebacondarwin
Copy link
Contributor

Hi, the real problem here is that we don't really create controllers like this any more.
As it turns out this example was broken in many ways
Here is a working example: http://plnkr.co/edit/E39BkQ54GkprsLsNpVfy?p=preview
Pete

@petebacondarwin
Copy link
Contributor

Reworked as fdab308 and 296074f. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants