4 // Declare app level module which depends on filters, and services
5 angular.module('myApp', ['myApp.filters', 'myApp.services', 'myApp.directives', 'ui.bootstrap.pagination' ]).
6 config(['$routeProvider', function($routeProvider) {
7 $routeProvider.when('/registration/:registrationId', {templateUrl: 'partials/registration.html', controller: RegistrationCtrl});
8 $routeProvider.when('/confirmation/:registrationId', {templateUrl: 'partials/confirmation.html', controller: RegistrationCtrl});
9 $routeProvider.when('/draft/:registrationId', {templateUrl: 'partials/draft.html', controller: RegistrationCtrl});
10 $routeProvider.when('/verified/:registrationId', {templateUrl: 'partials/verified.html', controller: RegistrationCtrl});
11 $routeProvider.when('/list', {templateUrl: 'partials/list.html', controller: ListCtrl});
12 $routeProvider.otherwise({redirectTo: '/registration/'});