ui-bootstrap with templates