angular.module('cat-buddy', [
  'ngRoute'
])
.config(function($routeProvider) {
  $routeProvider
    .when('/search/cats', {
      templateUrl: 'app/search/cat/searchCats.html',
      controller: ''
    })
    .when('/saved/cats', {
      templateUrl: 'app/saved/cat/savedCats.html',
      controller: ''
    })
    .otherwise({
      redirectTo: '/search/cats'
    });
});
angular.module('cat-buddy', [
  'ngRoute',
  'cat-buddy.services',
  'cat-buddy.search-cats',
  'cat-buddy.saved-cats'
])
.config(function($routeProvider) {
  $routeProvider
    .when('/search/cats', {
      templateUrl: 'app/search/cat/searchCats.html',
      controller: 'SearchCatsController'
    })
    .when('/saved/cats', {
      templateUrl: 'app/saved/cat/savedCats.html',
      controller: 'SavedCatsController'
    })
    .otherwise({
      redirectTo: '/search/cats'
    });
});
Add dependencies and controllers for cat-buddy app
Add dependencies and controllers for cat-buddy app
