dvdsvsd
This commit is contained in:
parent
53b217d787
commit
3956068c85
10 changed files with 185 additions and 57 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue