$watch – Stepan Suvorov Blog https://stepansuvorov.com/blog Release 2.0 Thu, 22 Oct 2015 18:54:09 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.1 Keep an eye on AngularJS perfomance with ng-stats https://stepansuvorov.com/blog/2015/10/keep-an-eye-on-angularjs-perfomance-with-ng-stats/ https://stepansuvorov.com/blog/2015/10/keep-an-eye-on-angularjs-perfomance-with-ng-stats/#respond Thu, 22 Oct 2015 18:54:09 +0000 http://stepansuvorov.com/blog/?p=2877 ng-stats

ng-stats is nice utility from Kent C. Dodds that allows you to see statistics for your page’s angular digest/watches.

to install just put this code into your bookmarks:

[javascript]
javascript: (function() {var a = document.createElement("script");a.src = "https://rawgithub.com/kentcdodds/ng-stats/master/dist/ng-stats.js";a.onload=function(){window.showAngularStats()};document.head.appendChild(a)})();
[/javascript]

]]>
https://stepansuvorov.com/blog/2015/10/keep-an-eye-on-angularjs-perfomance-with-ng-stats/feed/ 0
AngularJS $watch options Cheat Sheet https://stepansuvorov.com/blog/2015/07/angularjs-watch-options-cheat-sheet/ https://stepansuvorov.com/blog/2015/07/angularjs-watch-options-cheat-sheet/#respond Thu, 23 Jul 2015 17:58:48 +0000 http://stepansuvorov.com/blog/?p=2757 quite a nice illustration from ng ofdoc

concepts-scope-watch-strategies

]]>
https://stepansuvorov.com/blog/2015/07/angularjs-watch-options-cheat-sheet/feed/ 0