AnyPromise adapter for AngularJS

Usage no npm install needed!

<script type="module">
  import anyPromiseAngular from '';


AnyPromise adapter for AngularJS

AnyPromise adapter for the AngularJS framework.


This adapter is implemented as an ES6 module which can be installed with jspm and loaded via SystemJS as follows:

import 'any-promise-angular';

import angular from 'angular';

var mod = angular.module('example', ['anyPromise']);

mod.factory('exampleFactory', ['anyPromise', function(anyPromise) {
    // use anyPromise, e.g.
    return anyPromise.resolve(42);