Re-implementing a previous project using Angular.js