Hi trzczy,

This has to do with how inheritance works in JS If you put a dot in the 
name, it will work as you expect.

in stead of $scope.wi, do something like $scope.holder={wi: 5}
then use holder.wi where ever you need it in your template.

Want to know more, search this list-group for ‘the dot rule’

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