Hi Naga, Its nice to see another one care enough about angular to write an article about it. As this is supposed to target beginners, you should not expose unnamed modules, or controllers defined on the global scope. That is a really bad habit. It works, and for a quick test or prototype is may be ok, but for showcasing it in a beginners article it isn't.
I really like your example, however there is a lot of repeated code in there. Angular gives you enough tools to tackle that issue. Here I rewrote your sample <http://goo.gl/kvEKR2> in a more DRY <http://en.wikipedia.org/wiki/Don't_repeat_yourself>version of it. The step you showed is a good 'in-between' step. perhaps you can continue your article with the steps needed to get a more dry version of your calculator. Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
