Hi Ricky, As by the answer from Chris, you now have it probably working. I will do a small explanation, that helps you a bit (I hope ;)) What happened is that you stumbled upon an old example, from when it was still allowed to define your controllers in the global namespace. This was always a bad practice though. However, in on of the newer versions this option was killed as all agreed that it is a really bad idea to declare anything in the global namespace. So now you have to create a module, and put your controllers in there. Are you new to JavaScript too? I think it is a very good idea to read the styleguide <https://github.com/johnpapa/angular-styleguide>as one of the first things you learn. I advice you to read the whole thing. You will not get all of it yet, but it will provide you with lots of handles on how and more important why to do some things a certain way. It is not a learning manual.
with kind regards Sander Elias -- 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.
