Answer the question
In order to leave comments, you need to log in
How to make preloader for angular ngInclude directive?
Good afternoon!
Is it possible to make a preloader that will be shown when the src of this directive is changed?
There is a form that, depending on the selected radio buttons, includes templates via ngInclude. The problem is that time passes from the moment the active radio button is changed and the new template is loaded, and at this time it is necessary to show the user the loading icon. How can this be done without extra crutches, like loading templates through a directive?
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