Maria Krylova,
заменить
<script src="http://code.angularjs.org/1.0.7/angular.min.js" ></script>
на
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.5/angular.min.js"></script>
или заменить
<button ng-click="toggleDetails()" class="btn btn-xs btn-primary pull-right" type="button">
{{showDetails ? 'Hide Details':'Show Details'}}
</button>
на
<button ng-show='showDetails' ng-click="toggleDetails()" class="btn btn-xs btn-primary pull-right" type="button">
Hide Details
</button>
<button ng-show='!showDetails' ng-click="toggleDetails()" class="btn btn-xs btn-primary pull-right" type="button">
Show Details
</button>
https://plnkr.co/edit/nu5Pt8J0uYgoUEt1EFdk?p=preview