Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created October 7, 2016 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/5712e27eae6d1aade54b60e841eb3116 to your computer and use it in GitHub Desktop.
Save matthieu-D/5712e27eae6d1aade54b60e841eb3116 to your computer and use it in GitHub Desktop.
// Routes with html5pushstate
// ensure routes match client-side-app
app.get('/', ngApp);
app.get('/about', ngApp);
app.get('/about/*', ngApp);
app.get('/home', ngApp);
app.get('/home/*', ngApp);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment