Answer the question
In order to leave comments, you need to log in
How to reset template to initial state for ng-repeat string?
There is a pattern
<tr ng-repeat="i in Data | filter:search | filter:global_search | orderBy:order track by i.Id">
<button><i class=" fa fa-search"></i></button>
$this
.prop('disabled', true)
.html('<i class="fa fa-spinner fa-pulse"></i>')
.load(target, { Id: id }, function (response, status, xhr) {
$this.html('<i class="fa fa-check"></i>');
});
<button><i class="fa fa-check"></i></button>
remains. 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