Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

added commonjs package manager support #1369

Open
wants to merge 1 commit into
base: dev-next
Choose a base branch
from

Conversation

arnochauveau
Copy link

makes it possible to use ng-cordova with your favorite commonjs package manager(componentjs, webpack, etc..):

var ngCordova = require('ng-cordova');

angular.module('my-app', [ngCordova]);

or in ES6:

import * as ngCordova from 'ng-cordova';

angular.module('my-app', [ngCordova]);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant