Move html5 mode selection to index.html

This commit is contained in:
Vit Brunner
2015-03-09 21:02:41 +01:00
parent eb793193d2
commit fe53b64402
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -5,6 +5,8 @@ html(ng-app="sideBySide" ng-controller="AppController")
title(ng-bind="title()") Side By Side viewer
meta(charset="utf-8")
link(rel="stylesheet", type="text/css", href="//fonts.googleapis.com/css?family=Noticia+Text:400,700,400italic,700italic")
script.
html5Mode = false;
if min == true
link(rel="stylesheet", type="text/css", href="styles/all_min.css")
+1 -1
View File
@@ -1,4 +1,4 @@
angular.module('sideBySide', ['ngAnimate', 'ngDialog', 'ngSanitize', 'duScroll'])
.config [ '$locationProvider', ($locationProvider) ->
$locationProvider.html5Mode true
$locationProvider.html5Mode html5Mode
]