Replace for... in + hasOwnProperty by Object.keys
Replace for... in + hasOwnProperty by Object.keys

Object.keys requires IE9+, but Array.every is already used and also requires IE9+.

peferron/chai-angular