Fixes issue with local and server elements enhancement
Fixes issue with local and server elements enhancement

Fixes #581

janeyhjy/restangular,rodrigomf24/restangular,scalp42/restangular,matiomlei/restangular-1,cruiser/restangular,idpaterson/restangular,mgonto/restangular,zhengcongzhen/restangular,dankahle/restangular,duxet/restangular,Nihaux/restangular,aychando/restangular,xuwupeng2000/restangular,mrahhal/restangular,dokkis/restangular,CandyLee198088/restangular,fernandomoraes/restangular,kevinrenskers/restangular,yelmontaser/restangular,sergiocruz/restangular,dshefchik/restangular,bartzilla/restangular,chacbumbum/restangular,marciocamello/restangular,hartz89/restangular,ackimwilliams/restangular,jsdevel/restangular,sesubash/restangular,Akallabet/restangular,facingsouth/restangular,hansottowirtz/restangular,arabianfoz/restangular