Fixed js locations

This commit is contained in:
Patrick McDonagh
2016-01-26 20:43:34 -06:00
parent cec44863a6
commit 820ecca071
2 changed files with 5 additions and 5 deletions

View File

@@ -3,13 +3,13 @@ var tagserver = angular.module('tagserver', ['ngRoute', 'tsCtrlrs']);
tagserver.config([
'$routeProvider', function($routeProvider) {
$routeProvider.when('/dashboard', {
templateUrl: '../../public/partials/dashboard.html',
templateUrl: '/partials/dashboard.html',
controller: 'dashboardCtrl'
}).when('/tags', {
templateUrl: '../../public/partials/tags.html',
templateUrl: '/partials/tags.html',
controller: 'tagsCtrl'
}).when('/tag/:tagID', {
templateUrl: '../../public/partials/tagVals.html',
templateUrl: '/partials/tagVals.html',
controller: 'tagsValsCtrl'
});
}

View File

@@ -39,8 +39,8 @@
<script src='/js/jquery-1.11.1.min.js'></script>
<script src='/js/bootstrap.js'></script> -->
<script src="../../public/js/router.js"></script>
<script src="../../public/js/controller.js"></script>
<script src="/js/router.js"></script>
<script src="/js/controller.js"></script>
</head>