Skip to content

twilson63/angular-pouch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Angular-Pouch

An AngularJS module and bower package wrapper around the nightly build of pouchDb.

The purpose of this module is to make it super easy to install and upgrade web applications to the latest pouchDb.

html

<script src="/components/pouchdb-nightly.min/index.js"></script>
<script src="/components/angular/angular.js"></script>
<script src="/components/angular-pouch/angular-pouch.js"></script>

angular app

angular.module('App', ['angular-pouch'])
  .factory($db, function($pouch) {
    return $pouch('idb://mydbname'); 
  });

contribute

Pull requests are welcome.

License

MIT

About

A bower package repository for an angularjs module wrapper for pouchdb

Resources

Stars

Watchers

Forks

Packages

No packages published