updating angular generation template to comply with angular js doc