mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
parent
717a6705e2
commit
96ad0c7594
1 changed files with 10 additions and 4 deletions
|
|
@ -1374,10 +1374,16 @@ function explainModuleInstallation(moduleName){
|
|||
' <script src="angular.js">\n' +
|
||||
' <script src="' + modulePackageFile + '"></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>' +
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue