aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Bacon Darwin2013-11-13 20:42:36 +0000
committerPete Bacon Darwin2013-11-13 20:43:32 +0000
commit96ad0c75947671396de88b0ecc86309a51be6947 (patch)
tree355bb0e48b73097be5dff595ab34c0052b56181f
parent717a6705e2f308befd4948ae2815c85dd10791c7 (diff)
downloadangular.js-96ad0c75947671396de88b0ecc86309a51be6947.tar.bz2
docs(ngdoc): clarify extra module installation options
Closes #4811
-rw-r--r--docs/src/ngdoc.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js
index 0358756b..6b138835 100644
--- a/docs/src/ngdoc.js
+++ b/docs/src/ngdoc.js
@@ -1374,10 +1374,16 @@ function explainModuleInstallation(moduleName){
' <script src="angular.js">\n' +
' &lt;script src=&quot;' + modulePackageFile + '&quot;&gt;</pre></code>' +
- '<p>You can also find this file on the [Google CDN](https://developers.google.com/speed/libraries/devguide#angularjs), ' +
- '<a href="http://bower.io/">Bower</a> (as <code>' + modulePackage + '</code>), ' +
- 'and on <a href="http://code.angularjs.org/">code.angularjs.org</a>.</p>' +
-
+ '<p>You can download this file from the following places:</p>' +
+ '<ul>' +
+ '<li>[Google CDN](https://developers.google.com/speed/libraries/devguide#angularjs)<br>' +
+ 'e.g. <code>"//ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/' + modulePackageFile + '"</code></li>' +
+ '<li>[Bower](http://bower.io)<br>' +
+ 'e.g. <code>bower install ' + modulePackage + '@X.Y.Z</code></li>' +
+ '<li><a href="http://code.angularjs.org/">code.angularjs.org</a><br>' +
+ 'e.g. <code>"//code.angularjs.org/X.Y.Z/' + modulePackageFile + '"</code></li>' +
+ '</ul>' +
+ '<p>where X.Y.Z is the AngularJS version you are running.</p>' +
'<p>Then load the module in your application by adding it as a dependent module:</p><pre><code>' +
' angular.module(\'app\', [\'' + ngMod + '\']);</pre></code>' +