'use strict';
// Part of the accounting-api project:
// https://gitorious.org/conservancy/accounting-api
// License: AGPLv3-or-later
angular.module('accountingClient', ['ngRoute', 'accountingApi'])
.config(function($routeProvider) {
$routeProvider
.when('/', {
controller: 'ListTransactionsCtrl',
templateUrl: '/static/templates/list-transactions.html'
})
.when('/show/:transactionId', {
controller: 'TransactionDetailCtrl',
templateUrl: '/static/templates/detail.html'