diff options
| author | Adam Abrons | 2010-03-16 10:34:46 -0700 |
|---|---|---|
| committer | Adam Abrons | 2010-03-16 10:34:46 -0700 |
| commit | 34d48489d5fb3afbd10b9993fe80d753e0cf48bd (patch) | |
| tree | 5200a3ebf07e834af73aeea740b1c7d15603fe07 /scenario/datastore.html | |
| parent | 923289112e34c2d426f6b2e687e93601894fb088 (diff) | |
| parent | 9e1f085ba6e224893abc04be181f8748939bfe77 (diff) | |
| download | angular.js-34d48489d5fb3afbd10b9993fe80d753e0cf48bd.tar.bz2 | |
Merge commit 'origin/master' into directives
Diffstat (limited to 'scenario/datastore.html')
| -rw-r--r-- | scenario/datastore.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scenario/datastore.html b/scenario/datastore.html new file mode 100644 index 00000000..525d3636 --- /dev/null +++ b/scenario/datastore.html @@ -0,0 +1,17 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <script type="text/javascript" src="../lib/underscore/underscore.js"></script> + <script type="text/javascript" src="../lib/jquery/jquery-1.3.2.js"></script> + <script type="text/javascript" src="../src/angular-bootstrap.js"></script> + <script type="text/javascript"> + $(document).ready(function(){angular.compile(document).init();}); + </script> + </head> + <body ng-entity="book=Book" ng-init="books=Book.all()"> + <p>{{book.$id}}</p> + <li ng-repeat="book in books.$orderBy('name')"> + <li>{{book.name}}</li> + </li> + </body> + </html> |
