diff --git a/src/plugins/notification.js b/src/plugins/dialogs.js similarity index 85% rename from src/plugins/notification.js rename to src/plugins/dialogs.js index 89add129..a3f549ce 100644 --- a/src/plugins/notification.js +++ b/src/plugins/dialogs.js @@ -1,6 +1,6 @@ -angular.module('ngCordova.plugins.notification', []) +angular.module('ngCordova.plugins.dialogs', []) -.factory('$cordovaNotification', [function() { +.factory('$cordovaDialogs', [function() { return { alert: function(message, callback, title, buttonName) { diff --git a/src/plugins/module.js b/src/plugins/module.js index bafe96e7..65a7b084 100644 --- a/src/plugins/module.js +++ b/src/plugins/module.js @@ -3,7 +3,7 @@ angular.module('ngCordova.plugins', [ 'ngCordova.plugins.camera', 'ngCordova.plugins.geolocation', 'ngCordova.plugins.deviceOrientation', - 'ngCordova.plugins.notification', + 'ngCordova.plugins.dialogs', 'ngCordova.plugins.vibration', 'ngCordova.plugins.network', 'ngCordova.plugins.device', diff --git a/test/plugins/notification.spec.js b/test/plugins/dialogs.spec.js similarity index 100% rename from test/plugins/notification.spec.js rename to test/plugins/dialogs.spec.js