[frontend] Move out templates in anticipation of moving to angular routes.