JQuery Number Formatting

I would recommend looking at this article on how to use javascript to handle basic formatting: source: http://www.mredkj.com/javascript/numberFormat.html While jQuery can make your life easier in a million different ways I would say it’s overkill for this. Keep in mind that jQuery can be fairly large and your user’s browser needs to download it when you use it … Read more

What does `node –harmony` do?

Typing man node has this on the harmony flag: So –harmony is a shortcut to enable all the harmony features (e.g. –harmony_scoping, –harmony_proxies, etc.) From this blog post, it seems harmony enables new ECMAScript 6 features in the language. The reason your file won’t run without harmony is because app.js is probably using non-backward compatible … Read more

How to use onBlur event on Angular2?

Use (eventName) for while binding event to DOM, basically () is used for event binding. Also use ngModel to get two way binding for myModel variable. Markup Code Demo Alternative(not preferable) Demo For model driven form to fire validation on blur, you could pass updateOn parameter. Design Docs