replacing handlebars conditionals with angular conditionals