rewrote controller and app.js to match experience and better format of angular-phonecat