Skip to content

Commit ff7fdc8

Browse files
petebacondarwinjamesdaily
authored andcommitted
docs(ngdoc): clarify extra module installation options
Closes angular#4811
1 parent 6109a8d commit ff7fdc8

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/src/ngdoc.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,10 +1374,16 @@ function explainModuleInstallation(moduleName){
13741374
' <script src="angular.js">\n' +
13751375
' &lt;script src=&quot;' + modulePackageFile + '&quot;&gt;</pre></code>' +
13761376

1377-
'<p>You can also find this file on the [Google CDN](https://developers.google.com/speed/libraries/devguide#angularjs), ' +
1378-
'<a href="http://bower.io/">Bower</a> (as <code>' + modulePackage + '</code>), ' +
1379-
'and on <a href="http://code.angularjs.org/">code.angularjs.org</a>.</p>' +
1380-
1377+
'<p>You can download this file from the following places:</p>' +
1378+
'<ul>' +
1379+
'<li>[Google CDN](https://developers.google.com/speed/libraries/devguide#angularjs)<br>' +
1380+
'e.g. <code>"//ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/' + modulePackageFile + '"</code></li>' +
1381+
'<li>[Bower](http://bower.io)<br>' +
1382+
'e.g. <code>bower install ' + modulePackage + '@X.Y.Z</code></li>' +
1383+
'<li><a href="http://code.angularjs.org/">code.angularjs.org</a><br>' +
1384+
'e.g. <code>"//code.angularjs.org/X.Y.Z/' + modulePackageFile + '"</code></li>' +
1385+
'</ul>' +
1386+
'<p>where X.Y.Z is the AngularJS version you are running.</p>' +
13811387
'<p>Then load the module in your application by adding it as a dependent module:</p><pre><code>' +
13821388
' angular.module(\'app\', [\'' + ngMod + '\']);</pre></code>' +
13831389

0 commit comments

Comments
 (0)