angular
  .module('myApp', [
    'ngAnimate',
    'ui.router',
    'templates'
    ])
    .config(function($stateProvider, $urlRouterProvider, $locationProvider) {

    });
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);

  });
Add a home state that references home.html; it looks for it relative to the app/assets/templates/ path; also provide fallback route that catches other paths and directs them to the root