Angular.js webapp for powerful-api