text: 'use strict';
  
  angular.module('mahjongLearnApp', [
    'ngCookies',
    'ngResource',
    'ngSanitize',
    'ngRoute',
    //'ngAnimate',
    'ui.bootstrap'
  ])
    .config(function ($routeProvider) {
      $routeProvider
        .when('/', {
          templateUrl: 'views/home.html',
          controller: 'HomeCtrl'
        })
        .when('/welcome', {
          templateUrl: 'views/welcome.html',
          controller: 'WelcomeCtrl'
        })
        .when('/table', {
          templateUrl: 'views/table.html',
          controller: 'TableCtrl'
        })
        .when('/tiles', {
          templateUrl: 'views/tiles.html',
          controller: 'TilesCtrl'
        })
        .when('/start', {
          templateUrl: 'views/start.html',
          controller: 'StartCtrl'
        })
        .when('/yaku', {
          templateUrl: 'views/yaku.html',
          controller: 'YakuCtrl'
        })
        .when('/end', {
          templateUrl: 'views/end.html',
          controller: 'EndCtrl'
        })
        .when('/you', {
          templateUrl: 'views/you.html',
          controller: 'YouCtrl'
        })
        .when('/contact', {
          templateUrl: 'views/contact.html',
          controller: 'ContactCtrl'
        })
        .when('/about', {
          templateUrl: 'views/about.html',
          controller: 'AboutCtrl'
        })
        .otherwise({
          redirectTo: '/'
        });
    });
  