Angular JS module that wraps the Alertify.js global window function.
angular.module("myModule", ["ngAlertify"]).controller("myCtrl", ["alertify", function(alertify) {
// Use alertify here as you normally would.
alertify.alert("Hello, world!");
}]);
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
Contributions are welcomed. Make sure to follow the ESlint style guide and add tests for all changes. Thanks in advance!
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).