refactor into one page to do partials via angular