mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
- parse jsdocs from source code - generate prerendered (markdown + mustache) partials - generate json - generate scenario runner for examples in docs - basic angular doc viewer
7 lines
No EOL
251 B
JavaScript
7 lines
No EOL
251 B
JavaScript
function DocController($resource, $location){
|
|
this.docs = $resource('documentation.json').get();
|
|
this.getPartialDoc = function(){
|
|
return encodeURIComponent($location.hashPath) + '.html';
|
|
};
|
|
}
|
|
DocController.$inject=['$resource', '$location']; |