Split dashboard component directive into two

One for the topic subscription and the other one for templating