[AngularJS] Re: Read Value from scope

2015-12-22 Thread Raj
Hi Sander Thanks for your inputs and each and every word make sense. I changed Click Me! friendName: {{ friendName }} and on each click now I can see the friendName from ng-init. Thanks Rajan On Tuesday, December 22, 2015 at 1:15:15 AM UTC-5, Sander Elias wrote: > Hi Raj, > > You

[AngularJS] Re: Read Value from scope

2015-12-21 Thread Sander Elias
Hi Raj, You did work your way through the tutorial? Ok, an expression is NOT javascript. things like alert, and console.log are not available to you. Only functions that are available on the current scope are. As you did not define an app, nor a controller, you only have the rootScope availabl

[AngularJS] Re: Read Value from scope

2015-12-21 Thread Raj
Hi Sander I have gone through styleguide and it can be very easily resolved by following styleguide . I coped the code from snippets from http://angularjs.org and modified to add button. Now in p

[AngularJS] Re: Read Value from scope

2015-12-20 Thread Sander Elias
Hi Raj, Do yourself a favor, and work trough the tutorial on the main site. If you are done with that, read trough the styleguide , even if you don't understand it (yet). You can't use expressions the way you did it in your plunk. Remove the '{{'