Migrating to EJS from Handlebars & stubbing in Angular