text: import angular from 'angular';
  import uiRouter from 'angular-ui-router';
  import Common from '../../common/common';
  
  import puzzleGameComponent from './puzzle-game.component';
  import countdownComponent from './countdown/countdown.component';
  import puzzleWordComponent from './puzzle-word/puzzle-word.component';
  import resultScoreComponent from './result-score/result-score.component';
  
  import puzzleGameApiService from './puzzle-game.api.service';
  import puzzleGameService from './puzzle-game.service';
  
  let PuzzleGameModule = angular.module('puzzleGame', [
    uiRouter,
    Common
  ])
  
  .config(($stateProvider, $urlRouterProvider) => {
    "ngInject";
  
    $urlRouterProvider.otherwise('/');
  
    $stateProvider
      .state('puzzleGame', {
        url: '/',
        component: 'puzzleGame'
      });
  })
  
  .component('puzzleGame', puzzleGameComponent)
  .component('countdown', countdownComponent)
  .component('puzzleWord', puzzleWordComponent)
  .component('resultScore', resultScoreComponent)
  
  .factory('puzzleGameService', puzzleGameService)
  .factory('puzzleGameApiService', puzzleGameApiService)
    
  .name;
  
  export default PuzzleGameModule;
  