Hi Warish,

This is how javascript works! Nothing angular can do about that.
Still, this is working, however, not the way you think.
If you want access to the property, you need to do something like this: 
scope['myObject.myProperty'] in your code.
This is called a string 
literal<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Values,_variables,_and_literals#String_literals>.
 
String literals are valid as property names for objects,

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/groups/opt_out.

Reply via email to