dist/ng-cordova.js
function () {
	    	var deferred = $q.defer();
	    	var promise = deferred.promise;
            
            function ok(value){
                deferred.resolve(value);
            }
            
            function errorCallback(error){
                deferred.reject(new Error(error));
            }
            
            if($window.plugins){
                $window.plugins.appPreferences.show()
                    .then(ok, errorCallback);
            } else {
                deferred.reject(new Error(this.pluginNotEnabledMessage));
            }
	    	
	    	this.decoratePromise(promise);
	    	return promise;
	    }
function () {
	    	var deferred = $q.defer();
	    	var promise = deferred.promise;
            
            function ok(value){
                deferred.resolve(value);
            }
            
            function errorCallback(error){
                deferred.reject(new Error(error));
            }
            
            if($window.plugins){
                $window.plugins.appPreferences.show()
                    .then(ok, errorCallback);
            } else {
                deferred.reject(new Error(this.pluginNotEnabledMessage));
            }
	    	
	    	this.decoratePromise(promise);
	    	return promise;
	    }
function ( ) { var deferred = $q . defer ( ) ; var promise = deferred . promise ; function ok ( value ) { deferred . resolve ( value ) ; } function errorCallback ( error ) { deferred . reject ( new Error ( error ) ) ; } if ( $window . plugins ) { $window . plugins . appPreferences . show ( ) . then ( ok , errorCallback ) ; } else { deferred . reject ( new Error ( this . pluginNotEnabledMessage ) ) ; } this . decoratePromise ( promise ) ; return promise ; }
Show the application preferences.
@returns Returns a promise.
Show the application preferences .