using ng-routes to redo the project