AngularJS template engine?
Using jQuery used jQuery Templates.
It was nice that you could specify the template id and pass variables there.
How to do the same for AngularJS?
Answer the question
In order to leave comments, you need to log in
Read the documentation for angularjs better...
Use different controllers and templates?
Instead of templates, there are directives.
You can map template and variables using docs.angularjs.org/api/ng.$compile . And to match the template and id - docs.angularjs.org/api/ng.$templateCache
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question