One, $cordovaDialogs (dialog box plugin)
http://ngcordova.com/docs/plugins/dialogs/
One problem is that the location of the OK and Cancel buttons running on the browser and on the mobile device is reversed (right on the mobile device)
Also can use Ionic's http://www.ionicframework.net/docs/api/service/$ionicPopup/(Didn't try, forgot Ionic own)
Two, $cordovaToast (Short message plugin)
http://ngcordova.com/docs/plugins/toast/
Note: Using this plugin will cause errors in browser debugging because this special plugin only works on mobile devices.
Three, $cordovaProgress (progress bar plugin)
http://ngcordova.com/docs/plugins/progressIndicator/
The error did not find the reason, instead of using ionic $ionicLoading
http://www.ionicframework.net/docs/api/service/$ionicLoading/#
Four, $cordovaFile (file read and write plugin)
http://ngcordova.com/docs/plugins/file/
Note Update Ngcordova and corresponding plug-ins, as if the parameters do not correspond to cause a first-report encoding error
$cordovaFile. Checkfile (Cordova.file.dataDirectory, "Some_file.txt") . Then (function (Success) { //success }, function (Error) { //Error });
$cordovaFile. Readasdataurl (Cordova.file.externalRootDirectory, "Dcim/camera" + imageuri.substring ( Imageuri.lastindexof ('/'))) . Then (function (Success) { $scope. Images_list.push (success); }, function ( Error) { alert ("Error" +error); });
A method that only tries to verify that the file exists and reads the picture file as a 64-bit encoded string
(The first path parameter can only write several of its specified, cannot write the full path, the second name parameter to complete the remaining path plus the file name)
Ionic Project Ngcordova Plugin