feat(template): passing values to templates' scope

changed functionality of #3 to use isolated scopes for the directives when
values are wanted