angularjs - Angular templates - inject paramters -


i developing lot of popups same set of buttons: save, apply, , cancel. thinking have cached template hold these buttons. adding template this:

<ng-include src="'templates/popupbuttongrouptemplate.html'"></ng- include> 

and loading templates this:

$http.get('templates/popupbuttongrouptemplate.html', {     cache: $templatecache }); 

that works. need manipulate these buttons. specifically, set them true or false depending on user changes form template added to. how can have code included alone template every time template added form , how send parameter code specify form name use while watching user changes?

thanks


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -