update to general angular init w/ tests