I am creating a multi-page-form using an ui-router. During the first part of the form, the user will select a button. This button's value will be used to sort the table that is loaded on the second page. I thought I could set/update the buttons value with the ng-click, but it is not saving. The second page doesn't sort by the updated value. I am creating a multi-page-form using an ui-rou