A CodePen by Chris Jaynes. Spine Examples - Double Select - Part 1 of my 'Spine Examples' series.

It includes a double-select box with 1 Model, 2 Controllers for the selects, and a page controller.

The app controller creates two instances of the CarController, and binds them to the two select boxes. Then it grabs the carsData from the external js file and adds it to the Spine Model.

The Add/Remove button events are handled by the app controller. It updates the model, which triggers the select controllers to re-render.

(Data and libraries are pulled in from Dropbox.)