Add Documentation in Markdown plus express middleware for in-site rendering.

This commit is contained in:
Gunther Brunner
2014-08-28 21:04:32 +09:00
parent c318cddd14
commit eb968fa737
13 changed files with 349 additions and 12 deletions

View File

@@ -0,0 +1,19 @@
module.exports = function DocsCtrl($rootScope, $scope, $window, $location) {
$scope.goBack = function () {
$window.history.back()
}
$scope.goHome = function () {
$location.path('/docs/en/index')
}
$rootScope.$on("$routeChangeError",
function (event, current, previous, rejection) {
console.log("ROUTE CHANGE ERROR: " + rejection)
console.log('event', event)
console.log('current', current)
console.log('previous', previous)
})
}