Transfer the entire app to use Angular.js