Mod: 'index' from ejs ctrl to angular ctrl