Skip to content

Instantly share code, notes, and snippets.

@IgorMinar
Forked from jchris/couchapp.html
Created November 29, 2010 06:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IgorMinar/719646 to your computer and use it in GitHub Desktop.
Save IgorMinar/719646 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<!-- This should be the simplest possible jQuery based CouchApp. Install by uploading to a design document in Futon or putting in _attachments/index.html and running `couchapp push` -->
<head><title>Tiny CouchApp</title></head>
<body ng:init="dbs = couch.allDbs()">
<h1>Tiny CouchApp</h1>
<ul id="databases">
<li ng:repeat="db in dbs"><a href="/_utils/database.html?{{db}}">{{db}}</a></li>
</ul>
</body>
<script src="/_utils/script/jquery.js"></script>
<script src="/_utils/script/jquery.couch.js"></script>
<script src="http://code.angularjs.org/angular-0.9.5.min.js" ng:autobind></script>
<script src="https://github.com/IgorMinar/angular-couch/raw/master/angular-couch.js"></script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment