Fixing angular js dependancies