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
Merge pull request #29 from axelav/master

merge template & directive into a single file