Title: Storing pdf in Pouch db using angular ngStorage
Tags: pdf;local-storage;ng-storage
Question: I am new at Pouch DB is there a way to save a .pdf on Pouch using ngStorage or pure js?
I can't find a code snippet for files that are not json.
Searching for a way lead me to json in local storage.
Can somone provied a code snippet or any help on how to do this?
Thanks.

Here is the accepted answer: Have you read the Pouch DB API docs?
create/update  a doc
Comment for this answer: You definitely need some front end technology to handle the upload like [PHP](http://www.w3schools.com/php/php_file_upload.asp). Then you can run a PHP script to insert into your DB. If you do not want PHP, you may want to have a look at [this](http://stackoverflow.com/questions/2320069/jquery-ajax-file-upload)


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2016:00:09/13/16', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<pdf><local-storage><ng-storage>', 'Title': 'Storing pdf in Pouch db using angular ngStorage', 'ViewCount': 180, 'id': 39473545, 'user_AboutMe': '<p>Full-Stack developer at Siemens PLM.</p>\n', 'user_AccountId': 4861838.0, 'user_DisplayName': 'Itsik Mauyhas', 'user_Reputation': 3596.0, 'user_Views': 819.0, 'user_id': 3921231.0}}