Resetting checkboxes in an Ionic modal
I am building my first iOS app or HTML5/iOS app with the Ionic framework. Now my app has a list of items, and each item has a modal dialog attached to it that displays a bunch of properties attached to the item. These properties can be in an on/off state, so they are presented as checkboxes, so the user can modify their state. The state of the properties are independent of the similar properties on other items, so what was the problem I faced? Problem Ok so lets look at the Ionic tabs sample app, that we can get once we run the following command ionic start resetModal tabs So amongst other things, it gives us a tab for chats, that looks something like this Chats Ok so lets say there was this feature that on swiping left, it would revel a modal dialog ( IonicModal ) that contains a list of days (checkboxes) that you can select to set the availability for each chat contact. So when you swipe left on each contact, it should present the modal dialog in it's pristine state i...