Hi Doga,

You have found yourself a really old example. it defines global 
controllers, that is not allowed by modern version. I think that is your 
issue.
Have a look at this plunk 
<http://plnkr.co/edit/VOWj9DfKgruFgFABUw6B?p=preview>.
If you want to learn, use plunker. that way, if you have a question, you 
can link to your plunk, and we can help you.

One thing more, thing, do yourself a favor and read trough John Papa's 
styleguide. <https://github.com/johnpapa/angular-styleguide/> You dont' 
have to understand everything in there, it will prepare you for what is 
coming.

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.

Reply via email to