Persistence Entity Manager for Angular.js Applications