Skip to content

Instantly share code, notes, and snippets.

@ericf
Created July 10, 2012 15:38
Show Gist options
  • Select an option

  • Save ericf/3084168 to your computer and use it in GitHub Desktop.

Select an option

Save ericf/3084168 to your computer and use it in GitHub Desktop.
url: http://example.com/app/
root: /app/
save: /foo/
=> http://example.com/app/#/foo/
url: http://example.com/app
root: /app
save: /foo
=> http://example.com/app#/foo
url: http://example.com/app/index.html
root: /app/
save: /foo/
=> http://example.com/app/index.html#/foo/
url: http://example.com/app/index.html
root: /app
save: /foo/
=> http://example.com/app/index.html#/app/foo/
url: http://example.com/
root: /app
save: /foo
=> http://example.com/#/app/foo
url: http://example.com/index.html
root: /app
save: /foo
=> http://example.com/index.html#/app/foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment