Skip to content

Commit 7ddd615

Browse files
committed
Workaround for UI Router issue angular-ui/ui-router#679
1 parent 443f39b commit 7ddd615

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

app/frontend/scripts/app.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
`
22
'use strict';
3-
angular.module('frontendApp', ['ngAnimate', 'ngCookies', 'ngResource', 'ui.router', 'ngSanitize', 'ngTouch','checklist-model']).config(function($stateProvider) {
3+
angular.module('frontendApp', ['ngAnimate', 'ngCookies', 'ngResource', 'ui.router', 'ngSanitize', 'ngTouch','checklist-model','angularUtils.directives.uiBreadcrumbs']).config(function($stateProvider) {
44
$stateProvider.state('home', {
5-
url: "/",
5+
url: "",
66
templateUrl: "home.html"
77
}).state('services', {
88
url: "/services/:type/",

app/frontend/views/root.jade

Lines changed: 0 additions & 9 deletions
This file was deleted.

app/views/frontend/index.html.slim

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
ng-include[src="'root.html'"]
1+
//- Put the navbar on top
2+
ng-include[src="'partials/navbar.html'"]
3+
4+
//- Render UI views
5+
div[ui-view=""]
6+
7+
//- Put navbar on bottom
8+
ng-include[src="'partials/footer.html'"]

0 commit comments

Comments
 (0)