My points are as:
1. We can not use jade because its requiring another js ie. node.js and I have java spring on back-end.
2. Template cache is something different. Its used only for caching your template while my need is different.
3. I can not use directive because I have a long html page containing around 30-40 controls like- datepicker, dropdown, multiselect, dynamic adding list items, textarea, input fields, buttons and many more.
I redifine my problem: I have a huge html page and its almost same for 30 modules.
This html page has differences like metedata, number of html elements, type of html elements, less or more html elements for all 30 modules.
Now I want to make a superset of html and reuse it for all 30 modules by modifying on route calling for each module.
Please go through this and suggest me best way.
Pushpendra