Update Angular to 1.2.0 RC2
This commit is contained in:
parent
7416269494
commit
0d3a40980e
184 changed files with 17993 additions and 21133 deletions
|
@ -2,4 +2,11 @@
|
|||
<div><span class="hint"></span>
|
||||
</div>
|
||||
</h1>
|
||||
<div></div>
|
||||
<div><div class="ngresource-page"><h2>ngResource</h1>
|
||||
<p><code>ngResource</code> is the name of the optional Angular module that adds support for interacting with
|
||||
<a href="http://en.wikipedia.org/wiki/Representational_State_Transfer">RESTful</a> server-side data sources.
|
||||
<code>ngReource</code> provides the <a href="api/ngResource.$resource"><code>$resource</code></a> serivce.</p>
|
||||
<p><h1>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"></pre></code><p>You can also find this file on the <a href="https://developers.google.com/speed/libraries/devguide#angularjs">Google CDN</a>, <a href="http://bower.io/">Bower</a> (as <code>angular-resource</code>), and on <a href="http://code.angularjs.org/">code.angularjs.org</a>.</p><p>Then load the module in your application by adding it as a dependant module:</p><pre><code> angular.module('app', ['ngResource']);</pre></code><p>With that you're ready to get started!</p></p>
|
||||
<p>See <a href="api/ngResource.$resource"><code>$resource</code></a> for usage.</p>
|
||||
</div></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue