Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    ngalertifypublic

    ngAlertify

    Build Status

    Angular JS module that wraps the Alertify.js global window function.

    Usage

    angular.module("myModule", ["ngAlertify"]).controller("myCtrl", ["alertify", function(alertify) {

    // Use alertify here as you normally would.
    alertify.alert("Hello, world!");
    

    }]);

    Developing

    The package version should match the underlying Alertify.js version. Alertify.js code is a submodule, so update it when necessary:

    git submodule update

    Changes to Alertify.js itself should be done via the Alertify.js repo.

    The workflow is Gulp powerered, so just run the following to develop:

    gulp

    Contributing

    Contributions are welcomed. Make sure to follow the ESlint style guide and add tests for all changes. Thanks in advance!

    License

    This code is licensed under the MPL-2.0 license, while the Alertify.js module has it's own licensing (MIT and MPL-2.0 mixed).

    install

    npm i ngalertify

    Downloadsweekly downloads

    2

    version

    1.0.2

    license

    MPL-2.0

    repository

    githubgithub

    last publish

    collaborators

    • avatar