make template path configureable

to make the template path configureable

additionally it would be nice to have this lib as a bower package :+1: