remove html duplication in angular activity templates