Rewriting the Photogur project using AngularJS.