22@name Downloading
33@description
44
5- # Including angular scripts from the angular server
6- The quickest way to get started is to point your html `<script>` tag to a
7- <http://code.angularjs.org/> URL. This way, you don't have to download anything or maintain a
8- local copy.
5+ # Including angular scripts from the Google CDN
6+ The quickest way to get started is to point your html `<script>` tag to a Google CDN URL.
7+ This way, you don't have to download anything or maintain a local copy.
98
109There are two types of angular script URLs you can point to, one for development and one for
1110production:
@@ -15,21 +14,25 @@ development.
1514* __angular-<version>.min.js__ — This is the minified version, which we strongly suggest you use in
1615production.
1716
18- To point your code to an angular script on the angular server, use the following template. This
19- example points to (non- minified) version 1.0.2:
17+ To point your code to an angular script on the Google CDN server, use the following template. This
18+ example points to the minified version 1.0.2:
2019
2120<pre>
2221 <!doctype html>
2322 <html ng-app>
2423 <head>
2524 <title>My Angular App</title>
26- <script src="http ://code.angularjs.org/ 1.0.2/angular.js"></script>
25+ <script src="https ://ajax.googleapis.com/ajax/libs/angularjs/ 1.0.2/angular.min .js"></script>
2726 </head>
2827 <body>
2928 </body>
3029 </html>
3130</pre>
3231
32+ Note that only versions 1.0.1 and above are available on the CDN, if you need an earlier version
33+ you can use the <http://code.angularjs.org/> URL which was the previous recommended location for
34+ hosted code source. If you're still using the angular server you should switch to the CDN version
35+ for even faster loading times.
3336
3437# Downloading and hosting angular files locally
3538This option is for those who want to work with angular offline, or those who want to host the
0 commit comments