| author | cavaliet |
| Fri, 03 Oct 2014 12:41:56 +0200 | |
| changeset 3 | 18a4c598ddee |
| parent 1 | 74bbdd739878 |
| child 5 | c6ff29914983 |
| permissions | -rw-r--r-- |
(function(){ 'use strict'; angular.module('ammicoGallery',['ngResource', 'ngRoute']) .config(function ($routeProvider) { $routeProvider .when('/', { templateUrl: 'gallery/gallery.html', controller: 'galleryCtrl' }); }) .controller('galleryCtrl', function($scope, $location, slideshowModel){ console.log('gallery 5',$scope, $location, slideshowModel); $scope.gallery = slideshowModel.slideshow; }); })();