I've been reading about AngularJS
and it seems very promising, the only thing I'm trying to figure out, not specific for framework, but it's general for client-side template.
Let's say you have a web application with multiple roles, each role may contain addition feature,,, so you cannot have different template for each role, that would be considered bad practice, so my question is what's the best approach to use client-side template in the mean time, not exposing your template to client, so for example, in AngularJS
I don't have to use ng-show
? What best tool to generate template at server side?