aboutsummaryrefslogtreecommitdiffstats
path: root/docs/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/app/src')
-rw-r--r--docs/app/src/docs.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/app/src/docs.js b/docs/app/src/docs.js
index 74d78136..5c6a76d4 100644
--- a/docs/app/src/docs.js
+++ b/docs/app/src/docs.js
@@ -2,6 +2,8 @@ angular.module('DocsController', [])
.controller('DocsController', function($scope, $rootScope, $location, $window, $cookies, NG_PAGES, NG_NAVIGATION, NG_VERSION) {
+ $scope.docsVersion = NG_VERSION.isSnapshot ? 'snapshot' : NG_VERSION.version;
+
$scope.fold = function(url) {
if(url) {
$scope.docs_fold = '/notes/' + url;