Angularjs Templatizer