Hi Kiran,

don't mix in jQuery stuff like you do there. Don't do dom manipulation at 
all, unless there is no other way.
first thing, change your directive to a template directive. it will take 
care of the compilation.
Then prepare you data, so you can render it easy in your template.
The code you showed is parsing the dom to manipulate it so it shows data. 
That is not needed at al if you us angular.

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