(fix) refactored the angular modules to be endevr.controllers and endevr.directives