This commit is contained in:
Lorenzo Iovino 2016-01-30 22:32:14 +01:00
parent 9d351bb809
commit 9dcb7f65d0
5 changed files with 35 additions and 19 deletions

View file

@ -1,19 +1,5 @@
// Ionic Starter App
function takePicture()
{
console.log("PSOO");
navigator.camera.getPicture(function(imageURI) {
// imageURI is the URL of the image that we can use for
// an <img> element or backgroundImage.
}, function(err) {
// Ruh-roh, something bad happened
}, cameraOptions);
}
angular.module('underscore', [])
.factory('_', function() {
return window._; // assumes underscore has already been loaded on the page