Here I had to define `cards` and `activeCard` again because it fixes a problem we talked about last week. The buttons would not hide correctly when previously implementing this feature. The problem was that `scope.data.cardData.activeCard` had already been updated to the next card by the time the previous `activeCard` got passed into the `buttonToggle` and so it was executing the logic based on the previous card's info. The other problem is that `cards` for some reason, when passed in, would reference a single card rather than an array of cards. I decided the best way to resolve this issue would be to call the information afresh in this function.