Closed desatir7316 closed 7 years ago
The sample code is wrong.
In the html, "list" should be "models.lists"
Still nothing is rendering
The sample code is only for one list, while the JavaScript snippet generates the models for all lists. I recommend you to not copy & paste any code, you will not understand how a library works that way. Instead, start by coding a non-draggable list the way you want it in your application. Once you can see it on screen, start adding a dnd-draggable tag, and next a dnd-list.
I used exactly the same code in simple and other example but it renders nothing. For example this is the code for simple example: JS:
`$scope.models = { selected: null, lists: {"A": [], "B": []} };
`
HTML:
`