Remove redundant projects in AngularJS