text: angular
    .module('app', [
      'ui.router',
      'app.directives.contactCard'
    ])
    .config(['$urlRouterProvider', '$stateProvider','$httpProvider', function($urlRouterProvider, $stateProvider, $httpProvider) {
      $urlRouterProvider.otherwise('/');
      $httpProvider.defaults.useXDomain = true;
      delete $httpProvider.defaults.headers.common['X-Requested-With'];
      $stateProvider
        .state('home', {
          url: '/',
          templateUrl: 'home.html',
          controller: 'homeCtrl'
        })
        .state('about', {
          url: '/about',
          templateUrl: 'about.html',
          controller: 'aboutCtrl'
        })
    }])