import angular from 'angular';
import uiRouter from 'angular-ui-router';
import gridstackPageComponent from './gridstackPage.component';

let gridstackPageModule = angular.module('gridstackPage', [
  uiRouter
])

.config(($stateProvider, $urlRouterProvider) => {
  "ngInject";

  $urlRouterProvider.otherwise('/');

  $stateProvider
    .state('gridstack', {
      url: '/gridstack',
      component: 'gridstackPage'
    });
})

.component('gridstackPage', gridstackPageComponent)

.name;

export default gridstackPageModule;
