fitness-panel.html

<div>
    <fitness-summary data="fitness"></fitness-summary>
    <div class="inputfield">
        <label class="input-title">Workout Title</label>
        <autocomplete choices="fitness._.workouts" enteredtext="fitness.list[0].workouttitle" 
        minlength="1" result="fitness.workoutobj" type="'WORKOUT'"></autocomplete>
    </div>
    <div class="inputfield">
        <label class="input-title">Sets</label>
        <div class="items" ng-repeat="set in fitness.list[0].sets">
          <add-new-set data="fitness.list[0].sets" index="$index"></add-new-set>
        </div>
    </div>
    <div class="inputfield">
        <button class="btn btn-default full-width add-another"
        ng-click="addNewItem()">ADD NEW WORKOUT</button>
    </div>
</div>