EVOLUTION-MANAGER
Edit File: ngResource.html
<a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ngResource/resource.js?message=docs(ngResource)%3A%20describe%20your%20change...#L46' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a> <h1> <code>ngResource</code> </h1> <h1 id="ngresource">ngResource</h1> <p>The <code>ngResource</code> module provides interaction support with RESTful services via the $resource service.</p> <div doc-module-components="ngResource"></div> <p>See <a href="api/ngResource/service/$resource"><code>$resource</code></a> for usage.</p> <h2>Installation</h2> <p>First include <code>angular-resource.js</code> in your HTML:</p> <pre><code><script src="angular.js"> <script src="angular-resource.js"></code></pre> <p>You can download this file from the following places:</p> <ul> <li> <a href="https://developers.google.com/speed/libraries/devguide#angularjs">Google CDN</a><br> e.g. <code>//ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/angular-resource.js</code> </li> <li> <a href="http://bower.io">Bower</a><br> e.g. <pre><code>bower install angular-resource@X.Y.Z</code></pre> </li> <li> <a href="http://code.angularjs.org/">code.angularjs.org</a><br> e.g. <pre><code>"//code.angularjs.org/X.Y.Z/angular-resource.js"</code></pre> </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', ['ngResource']);</code></pre> <p>With that you're ready to get started!</p> <div class="component-breakdown"> <h2>Module Components</h2> <div> <h3 class="component-heading" id="service">Service</h3> <table class="definition-table"> <tr> <th>Name</th> <th>Description</th> </tr> <tr> <td><a href="api/ngResource/service/$resource">$resource</a></td> <td><p>A factory which creates a resource object that lets you interact with <a href="http://en.wikipedia.org/wiki/Representational_State_Transfer">RESTful</a> server-side data sources.</p> </td> </tr> </table> </div> </div>