The problem was that you were specifying a controller in 2 places – when opening a modal and inside a template – this is not needed. Remove ng-controller from a template and things will work as expected:
http://plnkr.co/edit/khySg1gJjqz1Qv4g4cS5?p=preview