File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11billRive . config ( [ '$routeProvider' , function ( $routeProvider ) {
22// $routeProvider.when('/', {templateUrl: 'partials/dashboard.html', controller: 'billController'});
3- $routeProvider . when ( '/listBills ' , { templateUrl : 'partials/bills/list.html' } ) ;
4- $routeProvider . when ( '/addBill ' , { templateUrl : 'partials/bills/add.html' , controller : 'BillAddCtrl' } ) ;
5- $routeProvider . when ( '/editBill ' , { templateUrl : 'partials/bills/edit.html' , controller : 'BillAddCtrl ' } ) ;
3+ $routeProvider . when ( '/bills/list ' , { templateUrl : 'partials/bills/list.html' } ) ;
4+ $routeProvider . when ( '/bills/add ' , { templateUrl : 'partials/bills/add.html' , controller : 'BillAddCtrl' } ) ;
5+ $routeProvider . when ( '/bills/edit ' , { templateUrl : 'partials/bills/edit.html' , controller : 'BillEditCtrl ' } ) ;
66 $routeProvider . when ( '/listFriends' , { templateUrl : 'partials/listFriends.html' , controller : 'billController' } ) ;
7- $routeProvider . otherwise ( { redirectTo : '/listBills ' } ) ;
7+ $routeProvider . otherwise ( { redirectTo : '/bills/list ' } ) ;
88 } ] ) ;
99
1010 billRive
Original file line number Diff line number Diff line change 33 <div class="row">
44 <div class="span8 offset2">-->
55 < div > < h4 > Bills</ h4 > </ div >
6- < a class ="btn btn-success " href ="#/addBill " ng-click ="addBill() "> < i class ="icon-plus-sign icon-white "> </ i > Add a Bill</ a >
6+ < a class ="btn btn-success " href ="#/bills/add " ng-click ="addBill() "> < i class ="icon-plus-sign icon-white "> </ i > Add a Bill</ a >
77 < div class ="input-append pull-right ">
88 < input type ="search " ng-model ="query " class ="span2 " name ="q " autocomplete ="off " placeholder ="Search " tabindex ="1 ">
99 < button class ="btn "> < i class ="icon-search icon-large "> </ i > </ button >
Original file line number Diff line number Diff line change 4646
4747 </ div >
4848
49- < div class ="" ng-include ="'partials/addBill /simple.html' " id ="editModal "> </ div >
49+ < div class ="" ng-include ="'partials/bills /simple.html' " id ="editModal "> </ div >
5050 < div class ="span4 ">
5151 < input class =" btn btn-primary pull-right pagination-centered " type ="submit " value ="add bill ">
5252 </ div >
You can’t perform that action at this time.
0 commit comments