refactor(template): Add more directives to default template

This adds more directive, to make template more readable and to retrieve any $element easily from javascript.

Some CSS class names have also been changed for more consistence