This package has been deprecated

Author message:

Package no longer supported

ng-q-plus

2.1.0 • Public • Published

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.

/ng-q-plus/

    Package Sidebar

    Install

    npm i ng-q-plus

    Weekly Downloads

    26

    Version

    2.1.0

    License

    MIT

    Last publish

    Collaborators

    • dbartholomae