Skip to content

wombleton/crafttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crafttp

A version of $http that does not trigger updates of the $rootScope

It behaves as $http does, with all of its interceptors and so forth. However it does not trigger a digest of the $rootScope. You can cause a targeted digest by passing scope as an option.

Usage

crafttp({
  method: 'GET',
  scope: scope,
  url: '/foo/bar'
}).then(function (result) { /** ... */ });

About

A version of $http that does not trigger updates of the $rootScope

Resources

License

Stars

Watchers

Forks

Packages

No packages published