Example URL Shortener/Redirector using Angular JS and CouchDB