angular.http-saas-api.js

AngularJs module for SaaS API ("Working"/"Saved"/"Error")

Added by: Sam Deering

GitHub

Repository

samber/angular.http-saas-api.js

Stats

Stars: 0

Watchers: 0

Forks: 1

Module Description

angular.http-saas-api.js

AngularJs module for SaaS API ("Working"/"Saved"/"Error").

Example on Vizir.co

USAGE

    $httpSaasApi.get("/path/42", { firstname: "John", lastname: "Doe" },function (data) {
      
      // success
      console.log("sent");
      
    }, function (data, status) {
      
      // error
      // you can read this error in $httpSaasApi.errors
      console.log("error");
    
    }); 
    <http-saas-api-success success="api.success" />
    <http-saas-api-is-loading loading="api.loading" />
    <http-saas-api-errors errors="api.errors" />

Module stats last updated: 2015-04-19 03:02:30

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!