diff options
| author | Igor Minar | 2012-10-05 03:13:51 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-10-05 03:15:11 -0700 |
| commit | caf702cc880760787c15aa02d4bce3d221c0d80c (patch) | |
| tree | 919613713de872356d9218f86fcc277eda9093e5 | |
| parent | cf2c49ed7fbf56df90d3a28fe74e3c866c38aec2 (diff) | |
| download | angular.js-caf702cc880760787c15aa02d4bce3d221c0d80c.tar.bz2 | |
docs(downloading): update the downloading docs
| -rw-r--r-- | docs/content/misc/downloading.ngdoc | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/docs/content/misc/downloading.ngdoc b/docs/content/misc/downloading.ngdoc index 892ab673..4bfaf70d 100644 --- a/docs/content/misc/downloading.ngdoc +++ b/docs/content/misc/downloading.ngdoc @@ -16,14 +16,14 @@ development. production. To point your code to an angular script on the angular server, use the following template. This -example points to (non-minified) version 0.10.6: +example points to (non-minified) version 1.0.2: <pre> <!doctype html> <html ng-app> <head> <title>My Angular App</title> - <script src="http://code.angularjs.org/angular-0.10.6.js"></script> + <script src="http://code.angularjs.org/1.0.2/angular.js"></script> </head> <body> </body> @@ -42,29 +42,31 @@ Download the version you want and have fun. Each directory under <http://code.angularjs.org/> includes the following set of files: -* __`angular-<version>.js`__ — This file is non-obfuscated, non-minified, and human-readable by +* __`angular.js`__ — This file is non-obfuscated, non-minified, and human-readable by opening it it any editor or browser. In order to get better error messages during development, you should always use this non-minified angular script. -* __`angular-<version>.min.js`__ — This is a minified and obfuscated version of -`angular-<version>.js` created with the Closure compiler. Use this version for production in order +* __`angular.min.js`__ — This is a minified and obfuscated version of +`angular.js` created with the Closure compiler. Use this version for production in order to minimize the size of the application that is downloaded by your user's browser. -* __`angular-<version>.tgz`__ — This is a tarball archive that contains all of the files released +* __`angular.zip`__ — This is a zip archive that contains all of the files released for this angular version. Use this file to get everything in a single download. -* __`angular-ie-compat-<version>.js`__ — This is a special file that contains code and data -specifically tailored for getting Internet Explorer to work with angular. If you host your own copy -of angular files, make sure that this file is available for download, and that it resides under the -same parent path as `angular-<version>.js` or `angular-<version>.min.js`. - -* __`angular-mocks-<version>.js`__ — This file contains an implementation of mocks that makes +* __`angular-mocks.js`__ — This file contains an implementation of mocks that makes testing angular apps even easier. Your unit/integration test harness should load this file after `angular-<version>.js` is loaded. -* __`angular-scenario-<version>.js`__ — This file is a very nifty JavaScript file that allows you +* __`angular-scenario.js`__ — This file is a very nifty JavaScript file that allows you to write and execute end-to-end tests for angular applications. -* __`docs-<version>`__ — this directory contains all the files that compose the +* __`angular-loader.min.js`__ — Module loader for Angular modules. If you are loading multiple script files containing + Angular modules, you can load them asynchronosuly and in any order as long as you load this file first. Often the + contents of this file are copy&pasted into the `index.html` to avoid even the inial request to `angular-loader.min.js`. + See [angular-seed](https://github.com/angular/angular-seed/blob/master/app/index-async.html) for an example of usage. + +* __`angular-resource.js`__, __`angular-cookies.js`__, etc - extra Angular modules with additional functionality. + +* __`docs`__ — this directory contains all the files that compose the <http://docs.angularjs.org/> documentation app. These files are handy to see the older version of our docs, or even more importantly, view the docs offline. |
