@@ -4,6 +4,8 @@ import angular from 'angular';
44import '@uirouter/angularjs' ;
55import 'angular-base64' ;
66import 'angular-messages' ;
7+ import 'ng-focus-if' ;
8+ import aboutCtrl from './pages/about/controller' ;
79import acctCtrl from './pages/account/controller' ;
810import locCtrl from './pages/location/controller' ;
911import confCtrl from './pages/confirm/controller' ;
@@ -20,7 +22,8 @@ import Electron from 'electron';
2022import request from 'request' ;
2123
2224let mainModule =
23- angular . module ( 'devPlatInstaller' , [ 'ui.router' , 'base64' , 'ngMessages' ] )
25+ angular . module ( 'devPlatInstaller' , [ 'ui.router' , 'base64' , 'ngMessages' , 'focus-if' ] )
26+ . controller ( aboutCtrl . name , aboutCtrl )
2427 . controller ( acctCtrl . name , acctCtrl )
2528 . controller ( locCtrl . name , locCtrl )
2629 . controller ( confCtrl . name , confCtrl )
@@ -35,12 +38,12 @@ let mainModule =
3538 . directive ( breadcrumb . name , breadcrumb )
3639 . directive ( pathValidator . name , pathValidator )
3740 . config ( [ '$stateProvider' , '$urlRouterProvider' , ( $stateProvider , $urlRouterProvider ) => {
38- $urlRouterProvider . otherwise ( '/account ' ) ;
41+ $urlRouterProvider . otherwise ( '/about ' ) ;
3942 $stateProvider
40- . state ( 'account ' , {
41- url : '/account ' ,
42- controller : 'AccountController as acctCtrl ' ,
43- templateUrl : 'pages/account/account .html'
43+ . state ( 'about ' , {
44+ url : '/about ' ,
45+ controller : 'AboutController as aboutCtrl ' ,
46+ templateUrl : 'pages/about/about .html'
4447 } )
4548 . state ( 'location' , {
4649 url : '/location' ,
@@ -58,6 +61,14 @@ let mainModule =
5861 displayName : 'Confirmation'
5962 }
6063 } )
64+ . state ( 'account' , {
65+ url : '/account' ,
66+ controller : 'AccountController as acctCtrl' ,
67+ templateUrl : 'pages/account/account.html' ,
68+ data : {
69+ displayName : 'Account'
70+ }
71+ } )
6172 . state ( 'install' , {
6273 url : '/install' ,
6374 controller : 'InstallController as instCtrl' ,
0 commit comments