V
V
Vitaly Kuznetsov2014-01-15 18:03:27
JavaScript
Vitaly Kuznetsov, 2014-01-15 18:03:27

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

4 answer(s)
S
Sergey, 2014-01-15
Protko @Fesor

Read the documentation for angularjs better...

V
Vasily, 2014-01-15
@VasiliyIsaichkin

Use different controllers and templates?

K
Konstantin Kitmanov, 2014-01-15
@k12th

Instead of templates, there are directives.

V
valkiriy, 2014-01-15
@valkiriy

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 your question

Ask a Question

731 491 924 answers to any question