showing transactions, next step: CRUD
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
var transactionsApp = angular.module('transactionsApp', ['ngRoute', 'transactionControllers' ]);
|
||||
|
||||
transactionsApp.config([ '$routeProvider', function($routeProvider) {
|
||||
$routeProvider.when('/list', {
|
||||
templateUrl : 'partials/transaction-list.html',
|
||||
controller : 'TransactionListCtrl'
|
||||
}).when('/transaction/:transactionURI*', {
|
||||
templateUrl : 'partials/transaction-details.html',
|
||||
controller : 'TransactionDetailCtrl'
|
||||
}).otherwise({
|
||||
redirectTo : '/list'
|
||||
});
|
||||
} ]);
|
||||
Reference in New Issue
Block a user