text: 'use strict';
  
  /* App Module */
  
  var tvtsApp = angular.module('phonecatApp', [
    'ngRoute',
    'tvtsControllers'
  ]);
  
  tvtsApp.config(['$routeProvider',
    function($routeProvider) {
      $routeProvider.
        when('/models', {
          templateUrl: 'partials/model-list.html',
          controller: 'ModelListCtrl'
        }).
        when('/styles/:modelId', {
          templateUrl: 'partials/model-detail.html',
          controller: 'ModelDetailCtrl'
        }).
        when('/styleDetail/:styleId', {
          templateUrl: 'partials/style-detail.html',
          controller: 'StyleDetailCtrl'
        }).
        otherwise({
          redirectTo: '/models'
        });
    }]);
  