mgonto/restangular — pull request #637 by danielbaak (2014-03-18 18:06:02+00:00)
Title: Fixed bug in code Example

If the response passing through the ResponseExtractor has 0 as a key, it breaks with

TypeError: Cannot set property '0' of undefined

defining the originalElement member before populating it avoids this bug.