Hi Jayesh,

Ok, your sample works as expected, and there is an $$hashKey added to 
everything angular puts in the DOM, see: http://jsfiddle.net/z6u4t/3/
Just as I just said, Angular puts a $$hashKey on everything it puts in the 
DOM, but only after putting it there. There needs to be at least a single 
digest loop before.
Aside from that, why would you even use the $$hashKey? Its internal to 
Angular, and bound to change. I highly doubt there will be an $$hashKey in 
version 2.0!
The need for it is a sure sign of code 
smell<http://en.wikipedia.org/wiki/Code_smell>. 
I can be wrong, and you might have found a legitimate use for it. If so, 
please share, it might be very interesting!

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