I already read the solutions for -
1) updating the angular version
2) using angular-resource as a seperate module and then injecting it
but the main problem with me is the implementation mistake where in my I am not able to extend a resource object and copy other data from a simple object.
please can anyone take a look at this -
and suggest a few solutions for this problem