refactoring, remove ngRoute dependency