Hi Alekhya,
1. syntax errors, putting <script> ... </script> inside JS does not work 2. defining your controller in the global namespace isn't allowed for a long time already 3. "controller as vm" is not supported in version 1.0, you need a newer angular for that I updated your fiddle <http://jsfiddle.net/wskta72o/1/>to work, 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
