scrapped my dependency injection for services
fixed and issue registering directives