36 lines
1.4 KiB
JavaScript
36 lines
1.4 KiB
JavaScript
//var anApp = angular.module('anApp',[]);
|
|
angular.module('anApp',[
|
|
'catalog',
|
|
'item',
|
|
'ngRoute',
|
|
'ngSanitize'
|
|
]);
|
|
|
|
jQuery(document).ready(function() {
|
|
console.log('ready');
|
|
//$('video, audio').mediaelementplayer();
|
|
//
|
|
//var slsh;
|
|
//var slsh = new SlideShow('.slideshow', {timeout: 5000});
|
|
/*jQuery(document)
|
|
.ajaxStart(function() {console.log('ajax start')})
|
|
.ajaxStop(function() {console.log('ajax stop')});*/
|
|
});
|
|
|
|
/*
|
|
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'}
|
|
]
|
|
});
|
|
*/
|