angular.module('myApp', [
  'ngAnimate',
  'ui.router',
  'templates'
  ])
  .config(function($stateProvider, $urlRouterProvider, $locationProvider) {
    /**
      * Routes and States
      */
    $stateProvider
      .state('home', {
        url: '/',
        templateUrl: 'home.html',
        controller: 'HomeCtrl'
      });

    // default fall back route
    $urlRouterProvider.otherwise('/');

    // enable HTML5 mode for SEO
    $locationProvider.html5Mode(true);

  });
angular.module('myApp', [
  'ngAnimate',
  'ui.router',
  'templates'
  ])
  .config(function ($stateProvider, $urlRouterProvider, $locationProvider) {
    /**
      * Routes and States
      */
    $stateProvider
      .state('home', {
        url: '/',
        templateUrl: 'home.html',
        controller: 'HomeCtrl'
      });

    // default fall back route
    $urlRouterProvider.otherwise('/');

    // enable HTML5 mode for SEO
    // $locationProvider.html5Mode(true);

  });
Remove html5mode since it was causing an error and looking for a base tag
Remove html5mode since it was causing an error and looking for a base tag
