started refactoring: split up the config for each angularjs route