I am trying to have a element show certain text during a load. The issue that I run into is the elements are repeated in the ng-repeat. When I click on one they all switch vs. just that element. I am not sure how to just target one.
<div ng-repeat="session in importableMeetings">
<a ng-click="importMeeting(session.sessionId)" class="btn btn-default btn-xs">
<span ng-show="loadingBtn">Loading...</span>
<span ng-show="!loadingBtn">Import »</span>
</a>
</div>
$scope.importMeeting = function (meetingId) {
$scope.loadingBtn = true;
.......
};