Hi Abdelmawla ... because you haven't 'attached' the controller in your view/DOM
Add the following to your index.html and it will work: <div ng-controller="controllerOne"></div> Regards Justin On Wednesday, October 15, 2014 12:31:16 PM UTC+2, Abdelmawla Mohamed wrote: > > Hello All, > > I'm trying to figure out why this Code > <http://plnkr.co/edit/uY1Utm?p=info> is working as expected. > > Thanks. > -- 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.
