[Meteor 1.3] NgCordova camera

Hi all,

First I’m sorry for my english.

Someone can explaine me plz how use this code after “meteor create myAppCamera” ?

`.controller(“imageManip”, function ($scope, $cordovaCamera) {

            $scope.takePhoto = function () {
              var options = {
                quality: 100,
                destinationType: Camera.DestinationType.DATA_URL,
                sourceType: Camera.PictureSourceType.CAMERA,
                allowEdit: true,
                encodingType: Camera.EncodingType.JPEG,
                targetWidth: 300,
                targetHeight: 300,
                popoverOptions: CameraPopoverOptions,
                cameraDirection : 1,
                saveToPhotoAlbum: false
            };

                $cordovaCamera.getPicture(options).then(function (imageData) {
                    $scope.imgURI = "data:image/jpeg;base64," + imageData;
                }, function (err) {
                    // An error occured. Show a message to the user
                });
            }

            $scope.choosePhoto = function () {
              var options = {
                quality: 100,
                destinationType: Camera.DestinationType.DATA_URL,
                sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
                allowEdit: true,
                encodingType: Camera.EncodingType.JPEG,
                targetWidth: 300,
                targetHeight: 300,
                popoverOptions: CameraPopoverOptions,
                saveToPhotoAlbum: false
            };

                $cordovaCamera.getPicture(options).then(function (imageData) {
                    $scope.imgURI = "data:image/jpeg;base64," + imageData;
                }, function (err) {
                    // An error occured. Show a message to the user
                });
            }


        })

`

I can’t find a simple tuto for meteor 1.3 and ngCordova.
This code work on Ionic but not on meteor.

Tank you for your help.

No one can help me ?

NoOne can help me plz ?