taskrabbit/kibana — pull request #2 by aaronbinns (2014-01-10 22:30:22+00:00)
Title: Allow for files to be loaded from sub-dirs in /files dir on es server.

Change route patterns so that the entire URL sub-path after /[file|elasticsearch|...]/ will be tokenized as a single string.

Note that the version of angular.js used in Kibana is older than current, so the syntax for "gobble up the rest of the URL"
is to prefix the keyword with '*', not to put the '*' at then end of the keyword.

This allows us to have an arbitrary sub-dir tree of files which can be loaded via:
.../kibana/#/dashboard/file/some-dashboard.json
.../kibana/#/dashboard/file/aaron/my-cool-dashboard.json
.../kibana/#/dashboard/file/pablo/pitbull/track-baller-appearances.json
etc.