moved main templates to partials so that unparsed content does not display before angular is loaded