AngularJS Prototype app