merge template & directive into a single file

this makes using this as a module (from bower, for example) much easier
as you only need to include a single file in your app