An extended version of angular resource who store responses into localStorage.