[REFACTORING] angularjs routing