Hi Yogi, Well, here is a way <http://plnkr.co/edit/0bZpZ2Jhz4v1zRHeoLxN?p=preview> on how to do it. As you are starting with angular, it pays back to learn about expressions and when (not) to use them. That's the reason I didn't provide a working sample the first time around ;) A good guide on how to write angular in a maintainable fashion is found in the styleguide <https://github.com/johnpapa/angular-styleguide>. Even if you don't understand everything in there yet, it's a good idea to read it to completion.
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.
