diff options
Diffstat (limited to 'docs/docs.js')
| -rw-r--r-- | docs/docs.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/docs.js b/docs/docs.js new file mode 100644 index 00000000..6f5c5034 --- /dev/null +++ b/docs/docs.js @@ -0,0 +1,7 @@ +function DocController($resource, $location){ + this.docs = $resource('documentation.json').get(); + this.getPartialDoc = function(){ + return encodeURIComponent($location.hashPath) + '.html'; + }; +} +DocController.$inject=['$resource', '$location'];
\ No newline at end of file |
