Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
fix(config): fix footer template
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Burgmer committed Mar 3, 2015
1 parent 34c4b8e commit 5ae1eef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/slides/slides.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
'use strict';

angular.module('w11k.slides').constant('slidesConfig', {
slides: [],
slideTemplatePrefix: 'slides/content/',
slideTemplateSuffix: '.tpl.html',
masters: {},
footer: {
templateUrl: 'slides/footer.tpl.html',
left: '',
middle: '',
right: '$index + 1'
}
});

angular.module('w11k.slides').factory('SlidesService', ['slidesConfig', '$location', '$rootScope', function (slidesConfig, $location, $rootScope) {
var activeSlide;

Expand Down
13 changes: 13 additions & 0 deletions src/w11k-slides.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
'use strict';

angular.module('w11k.slides', []);

angular.module('w11k.slides').constant('slidesConfig', {
slides: [],
slideTemplatePrefix: 'slides/content/',
slideTemplateSuffix: '.tpl.html',
masters: {},
footer: {
templateUrl: 'footer/footer.tpl.html',
left: '',
middle: '',
right: '$index + 1'
}
});

0 comments on commit 5ae1eef

Please sign in to comment.