Updated angularjs requires $location:nobase

https://gist.github.com/lpsBetty/714c93492ab4d535d105
This commit is contained in:
TJ 2014-11-21 21:16:27 -08:00
parent b7978bf6ee
commit 5f5b34db27
2 changed files with 11 additions and 4 deletions

View File

@ -2,7 +2,11 @@ define([
'app'
], function(app) {
app.config(function($stateProvider, $urlRouterProvider, $locationProvider, $couchPotatoProvider) {
$locationProvider.html5Mode(true);
$locationProvider.html5Mode({
enabled: true,
requireBase: false
})
$urlRouterProvider.otherwise('/');

View File

@ -7,7 +7,10 @@ define([
'services/playbooks'
], function(app, io) {
app.config(function($stateProvider, $urlRouterProvider, $locationProvider, $couchPotatoProvider) {
$locationProvider.html5Mode(true);
$locationProvider.html5Mode({
enabled: true,
requireBase: false
})
$urlRouterProvider.otherwise('');