diff --git a/source/index.html.jade b/source/index.html.jade
index cb43ed0..c9ac96f 100644
--- a/source/index.html.jade
+++ b/source/index.html.jade
@@ -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")
diff --git a/source/scripts/app.js.coffee b/source/scripts/app.js.coffee
index a004b58..4e91c7f 100644
--- a/source/scripts/app.js.coffee
+++ b/source/scripts/app.js.coffee
@@ -1,4 +1,4 @@
angular.module('sideBySide', ['ngAnimate', 'ngDialog', 'ngSanitize', 'duScroll'])
.config [ '$locationProvider', ($locationProvider) ->
- $locationProvider.html5Mode true
+ $locationProvider.html5Mode html5Mode
]