setup routes and angular templates