Hi Himanshu,

Use an interface to hold the types, and don't cast every row to a class.
If you need to modify something, do a .map on the dataset to clean it up.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/516a4325-a6ac-4856-bb06-2d8fb37ebd42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to