An interesting discussion about the difference between
<a ng-click="modal.saved=true;dismiss()">...</a>
and <a onClick="thisIsAnAntiPattern()">...</a>
and why context / scope matters could be found here: http://www.bennadel.com/blog/2439-My-Experience-With-Angular...