add directivesTemplates
refactoring mainController to feedsController and new tests for feedsController