diff options
Diffstat (limited to 'src/main/webapp/apps/personApp')
-rwxr-xr-x | src/main/webapp/apps/personApp/person.html | 2 | ||||
-rwxr-xr-x | src/main/webapp/apps/personApp/personApp.js | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/webapp/apps/personApp/person.html b/src/main/webapp/apps/personApp/person.html index 056545f..3544221 100755 --- a/src/main/webapp/apps/personApp/person.html +++ b/src/main/webapp/apps/personApp/person.html @@ -1,5 +1,7 @@ <div class="container"> + <navbar/> + <div class="page-header"> <h1>{{person.name}}</h1> </div> diff --git a/src/main/webapp/apps/personApp/personApp.js b/src/main/webapp/apps/personApp/personApp.js index e8ef1d5..363e498 100755 --- a/src/main/webapp/apps/personApp/personApp.js +++ b/src/main/webapp/apps/personApp/personApp.js @@ -1,6 +1,6 @@ 'use strict'; -var personApp = angular.module('personApp', ['person', 'build', 'pagingTableService']).config(function ($routeProvider, $locationProvider) { +var personApp = angular.module('personApp', ['person', 'build', 'pagingTableService', 'core.directives']).config(function ($routeProvider, $locationProvider) { $routeProvider. when('/', {controller: PersonCtrl, templateUrl: '/apps/personApp/person.html?noCache=' + noCache}); }); @@ -20,7 +20,7 @@ function PersonCtrl($scope, $routeParams, Person, Build, PagingTableService) { console.log("$scope.builds.length=" + builds.rows.length); if (builds.rows.length == 0) { - queryBuilds(builds); + $scope.builds.first(); } break; } |