2.1.0 • Published 10 years ago

ng-q-plus v2.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

ng-q-plus

NPM version Build Status Coverage Status Dependency Status devDependency Status GitHub license Gitter

ng-q-plus is an angular module enhancing $q promises with additional features

angular.module 'app', [require('ng-q-plus')]
.service 'myService', ['$q', ($q) ->
  $q.when a: 1
  .get('a')
  .then (value) ->
    console.log value # = 1
]

API

The module can be required via browserify require, as an AMD module via requirejs or as a global, if window.angular is present. It creates the angular module 'ng-q-plus' and exports its name. This module augments the existing $q service, it does not create a service of its own. Each promise gets the new methods as defined in the ExtendedPromise class which can be found in the documentation.

2.1.0

10 years ago

2.0.0

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.0.1

10 years ago