I am building an application to authenticate with Moodle and get Json data from a Moodle web service, and using AngularJs to display the data in the app. There are multiple functions on the Moodle webservice, so I need multiple controllers in the Angular app.
Add a button to trigger the modal
This goes inside the ng-repeat block
{{item.name}}
Additional notes
Put the modal template script inside the ng-app div, but outside the ng-repeat block.
This works with multiple modal calls inside a ng-repeat block, AND with multiple ng-repeat blocks and modal templates in a page. You do need to make sure that the ng-repeat block repeats item in items, and that the modal template references item.