'use strict';


// Declare app level module which depends on filters, and services

angular.module('dooApp', [
  'ngRoute',
  'dooApp.filters',
  'dooApp.services',
  'dooApp.directives',
  'dooApp.controllers'
]).
config(['$routeProvider', function($routeProvider) {
  $routeProvider.when('/register', {templateUrl: 'partials/register.html', controller: 'registerCtrl'});
  $routeProvider.when('/login', {templateUrl: 'partials/login.html', controller: 'loginCtrl'});
  $routeProvider.otherwise({redirectTo: '/login'});
}]);
