merged AngularJS tmpl