moved initial page to angular controller