import angular from 'angular';
import uiRouter from 'angular-ui-router';
import listingsComponent from './listings.component';

let listingsModule = angular.module('listings', [
  uiRouter
])
.config(($stateProvider) => {
  "ngInject";
  $stateProvider
    .state('listings', {
      url: '/listings',
      component: 'listings'
    });
})
.component('listings', listingsComponent)

.name;

export default listingsModule;
