Code optimization
Fixing the angular provider
Mocha Tests