Skip to content

Commit

Permalink
Enable html5mode for Angular
Browse files Browse the repository at this point in the history
Ok since we're not supporting old IE.
  • Loading branch information
bebraw committed Dec 23, 2013
1 parent 6b7676f commit a5082d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/app/scripts/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
'use strict';

angular.module('osscdnApp', ['ngAnimate', 'ngRoute']).config(function ($routeProvider) {
angular.module('osscdnApp', ['ngAnimate', 'ngRoute']).
config(function($locationProvider, $routeProvider) {
$locationProvider.html5Mode(true);

$routeProvider.when('/', {
templateUrl: 'views/main.html',
controller: 'MainCtrl'
Expand Down

0 comments on commit a5082d3

Please sign in to comment.