(function(){
  var app = angular.module("site", ["ngRoute"]);

  app.controller("NavController", function($location){
    this.isActive = function(viewLocation){
      return viewLocation === $location.path();
    }
  });


  app.config(function($routeProvider, $locationProvider){
    $routeProvider
      .when("/home",{
        templateUrl: "home.html",
        controller: "HomeController as HomeCtrl"
      })
      .when("/creator",{
        templateUrl: "creator.html",
        controller: "CharCreatorController as creatorCtrl"
      })
      .otherwise({redirectTo:"./home"});
      $locationProvider.html5Mode(true);
    });
  }()
);

@@ -307,16 +307,17 @@
  .when(%22
+.
 /home%22,%7B
@@ -422,16 +422,17 @@
  .when(%22
+.
 /creator

Revert "Try commiting straight to gh-pages this time"