Answer the question
In order to leave comments, you need to log in
Angular. How to load HTML template on a specific event?
Good afternoon.
It is necessary to load html code from a file on some event. Let's say a button is clicked.
I found ng-include and src, but if I understood everything correctly, then the template will be loaded immediately upon initialization. How to load only on event?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question