mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 15:24:43 +00:00
docs($resource): improve installation section
This commit is contained in:
parent
0ef9d54ccd
commit
03bbe9aab1
1 changed files with 4 additions and 2 deletions
|
|
@ -20,12 +20,14 @@
|
||||||
*
|
*
|
||||||
* # Installation
|
* # Installation
|
||||||
* To use $resource make sure you have included the `angular-resource.js` that comes in Angular
|
* To use $resource make sure you have included the `angular-resource.js` that comes in Angular
|
||||||
* package. You also can find this stuff in {@link http://code.angularjs.org/ code.angularjs.org}.
|
* package. You can also find this file on Google CDN, bower as well as at
|
||||||
|
* {@link http://code.angularjs.org/ code.angularjs.org}.
|
||||||
|
*
|
||||||
* Finally load the module in your application:
|
* Finally load the module in your application:
|
||||||
*
|
*
|
||||||
* angular.module('app', ['ngResource']);
|
* angular.module('app', ['ngResource']);
|
||||||
*
|
*
|
||||||
* and you ready to get started!
|
* and you are ready to get started!
|
||||||
*
|
*
|
||||||
* @param {string} url A parameterized URL template with parameters prefixed by `:` as in
|
* @param {string} url A parameterized URL template with parameters prefixed by `:` as in
|
||||||
* `/user/:username`. If you are using a URL with a port number (e.g.
|
* `/user/:username`. If you are using a URL with a port number (e.g.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue