fixed javascript to call database through angular
Merge pull request #52 from lapty/master

fixed javascript to call database through angular