Define angular routes and update index view