fixing angular definitions