removing unused provider in angularjs