This commit is contained in:
Lorenzo Iovino 2016-01-30 20:05:22 +01:00
parent 53b217d787
commit 3956068c85
10 changed files with 185 additions and 57 deletions

View file

@ -544,7 +544,6 @@ angular.module('your_app_name.controllers', [])
{
case "addticketwithphoto":
{
console.log("ciao");
takePicture();
break;
}
@ -557,6 +556,21 @@ angular.module('your_app_name.controllers', [])
});
break;
}
case "shop":
{
$http.get('home-categories.json').success(function(response) {
var category = _.find(response, {id: $scope.categoryId});
$scope.categoryTitle = category.title;
$scope.category_sources = category.home_sources;
});
break;
}
case "settings":
{
$scope.categoryTitle = "Impostazioni";
console.log("odod");
break;
}
}