2017-08-20 12:55:35 +02:00
|
|
|
//var anApp = angular.module('anApp',[]);
|
|
|
|
angular.module('anApp',[
|
|
|
|
'catalog',
|
2017-11-09 19:40:49 +01:00
|
|
|
'item',
|
|
|
|
'ngRoute',
|
|
|
|
'ngSanitize'
|
2017-08-20 12:55:35 +02:00
|
|
|
]);
|
|
|
|
|
2017-11-09 19:40:49 +01:00
|
|
|
jQuery(document).ready(function() {
|
|
|
|
//console.log('ready');
|
2017-12-15 01:17:46 +01:00
|
|
|
//var slsh;
|
2017-08-20 12:55:35 +02:00
|
|
|
//var slsh = new SlideShow('.slideshow', {timeout: 5000});
|
2018-01-15 11:19:35 +01:00
|
|
|
/*jQuery(document)
|
|
|
|
.ajaxStart(function() {console.log('ajax start')})
|
|
|
|
.ajaxStop(function() {console.log('ajax stop')});*/
|
2017-08-20 12:55:35 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
/*
|
|
|
|
anApp.controller('anListController',function anListController($scope){
|
|
|
|
$scope.catalog = [
|
|
|
|
{ id: '1', title: 'Item 1', description: 'Description 1', img: 'assets/anorga.jpg'},
|
|
|
|
{ id: '2',title: 'Item 2', description: 'Description 2', img: 'assets/anorga1.jpg'},
|
|
|
|
{ id: '3', title: 'Item 2', description: 'Description 2', img: 'assets/anorga2.jpg'},
|
|
|
|
{ id: '4', title: 'Item 2', description: 'Description 2', img: 'assets/anorga3.jpg'},
|
|
|
|
{ id: '5', title: 'Item 2', description: 'Description 2', img: 'assets/anorga.jpg'},
|
|
|
|
{ id: '6', title: 'Item 2', description: 'Description 2', img: 'assets/anorga1.jpg'},
|
|
|
|
{ id: '7', title: 'Item 2', description: 'Description 2', img: 'assets/anorga2.jpg'},
|
|
|
|
{ id: '8', title: 'Item 2', description: 'Description 2', img: 'assets/anorga3.jpg'},
|
|
|
|
{ id: '9', title: 'Item 2', description: 'Description 2', img: 'assets/anorga.jpg'},
|
|
|
|
{ id: '10', title: 'Item 2', description: 'Description 2', img: 'assets/anorga1.jpg'}
|
|
|
|
]
|
|
|
|
});
|
|
|
|
*/
|