I did that. However I would log `activeCard` and `scope.data.cardData.activeCard` inside the `buttonToggle` function and the `activeCard` would have an id that did not match that of the `scope.data.cardData.activeCard`. For some reason it seems that `activeCard` would not get updated correctly.