Refactor angular app with current best practices.