fitness-summary.html

<div class="fitness-summary" ng-show="fitnessList.length > 0">
	<div class="heading">
		Summary
	</div>
	<div class="workout"
		ng-repeat="workout in fitnessList = (fitness.list | filterByIndex: { exclude: true, index: 0 })">
		<div class="summary">
			<div class="title">{{ workout.workouttitle.length > 0 ? 'TITLE: ' : 'NO TITLE'}}{{ workout.workouttitle }}</div>
			<div class="set" ng-repeat="set in workout.sets">
				<div class="set-details" ng-show="set.repetition != '' || set.weight != '' || set.distance != '' || set.time != ''">
					<div class="set-number">Set {{ $index + 1}}</div>
					<div class="repetition">{{set.repetition !== '' ? set.repetition : '-'}}</div>
					<div class="weight">{{set.weight !== '' ? set.weight : '-'}}</div>
					<div class="distance">{{set.distance !== '' ? set.distance : '-'}}</div>
					<div class="time">{{set.time !== '' ? set.time : '-'}}</div>
				</div>
			</div>
		</div>
	</div>
</div>