4 ms·
An interesting discussion about the difference between <a ng-click="modal.saved=true;dismiss()">...</a> and <a onClick="thisIsAnAntiPattern()">...</a> a
by JanLaussmann 14y ago
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-AngularJS-The-Super-heroic-JavaScript-MVW-Framework.htm#comments_41586 http://www.bennadel.com/blog/2439-My-Experience-With-Angular...
- phpnode 14y agothanks, that was interesting and it's obvious how it can be useful. but for some reason it still feels dirty.