Neues Initialrelease mit IonicMaterial

This commit is contained in:
Carsten Hilmer
2016-08-22 12:55:52 +02:00
parent 30a5df79aa
commit 45e482b14d
1249 changed files with 305225 additions and 68794 deletions

View File

@@ -0,0 +1,18 @@
/**
* @ngdoc service
* @name ngCordovaMocks.cordovaDatePicker
*
* @description
* A service for testing datepicker features
* in an app build with ngCordova.
*/
ngCordovaMocks.factory('$cordovaDatePicker', ['$q', function ($q) {
return {
show: function (options) {
var q = $q.defer();
options = options || {date: new Date(), mode: 'date'};
q.resolve(options.date);
return q.promise;
}
};
}]);