Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.
In $http example, changed success condition to any 2xx status code. Using only 200 is wrong and since a lot ppl will copy-paste it, it should be correct.