Hi I have the below structure in html:
<label class="btn btn-primary demo-review" ng-model="demo.ids" ng-click="selectMe($event,3)" btn-radio="'{{demo.demoinfo.ids}}'">
<i class="check-circle btn-success selected" aria-hidden="true"></i>
<p ng-repeat="race in demo.demoinfo.selectedRaces track by $index" class="text-center">
{{race.racename}}<br />
</p>
</label>
As you can see here I am rendering number of race elements using ng-repeat. But the icons is a bootstrap one, which is coming right side of the top race element. What I want is to render that icon right next to the middle race element. So, if there are 5 elements, it should be next to the 3rd, if there are 4 elements it should be next to the 2nd.
Is it possible to do in AngularJS ? Thanks in advance.