fix($resource): add  {id:'@id'}