Testing out require with angular