Refactor recycler#index with AngularJS