Skip to content

Instantly share code, notes, and snippets.

@nacady
Created October 8, 2014 07:52
Show Gist options
  • Save nacady/11e9e7b55bcd7a130f99 to your computer and use it in GitHub Desktop.
Save nacady/11e9e7b55bcd7a130f99 to your computer and use it in GitHub Desktop.
reloadable html5Mode with yeoman/generator-angular ref: http://qiita.com/nacady/items/ae2f71bb91e3cc818644
angular
.module('angularApp')
.config(['$locationProvider', function($locationProvider) {
$locationProvider.html5Mode(true);
}]);
$ npm install --save-dev connect-modrewrite
<!doctype html>
<html class="no-js">
<head>
<base href="/">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment