diff --git a/docs/site/components/docs/docs.html b/docs/site/components/docs/docs.html
index 6be7fb5ac4c..5b94f3dd272 100644
--- a/docs/site/components/docs/docs.html
+++ b/docs/site/components/docs/docs.html
@@ -147,6 +147,8 @@
Returns
Example
+
diff --git a/docs/site/components/docs/docs.js b/docs/site/components/docs/docs.js
index a58bdc54ce6..2de5a16a872 100644
--- a/docs/site/components/docs/docs.js
+++ b/docs/site/components/docs/docs.js
@@ -135,7 +135,7 @@ angular
if (alias && alias.string.indexOf('module:') !== 0) {
alias = alias.string;
} else {
- alias = false
+ alias = false;
}
return {
@@ -149,6 +149,8 @@ angular
}),
description: $sce.trustAsHtml(
formatHtml(detectLinks(detectModules(obj.description.full)))),
+ lineNum: obj.codeStart,
+ lineNumLink: obj.codeStart ? '#L' + obj.codeStart : '',
params: obj.tags.filter(function(tag) {
return tag.type === 'param';
})
@@ -334,6 +336,7 @@ angular
$scope.activeUrl = '#' + $location.path();
$scope.singleMethod = methods.singleMethod;
$scope.module = $routeParams.module;
+ $scope.class = $routeParams.class || 'index';
$scope.methods = methods;
$scope.version = $routeParams.version;
$scope.versions = versions;
diff --git a/docs/site/css/main.css b/docs/site/css/main.css
index 0337db8d969..9332ef5880f 100755
--- a/docs/site/css/main.css
+++ b/docs/site/css/main.css
@@ -732,6 +732,10 @@ ul {
background: #F8F8F8;
}
+.view-code-link {
+ color: #888;
+}
+
/*
Page Title
*/