28 lines
1.2 KiB
JavaScript
28 lines
1.2 KiB
JavaScript
//var anApp = angular.module('anApp',[]);
|
|
angular.module('anApp',[
|
|
'catalog',
|
|
'item'
|
|
]);
|
|
|
|
$(document).ready(function() {
|
|
//console.log('ready');
|
|
//var slsh = new SlideShow('.slideshow', {timeout: 5000});
|
|
});
|
|
|
|
/*
|
|
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'}
|
|
]
|
|
});
|
|
*/
|