help you fix your problem Calling 'markModified' on the _.merge return value (as suggested by a previous answer) didn't resolve this issue for me. The issue Adam Zerner reported is that _merge causes the 'updated' object to contain invalid data for array properties. I am also experiencing this issue using the angular-fullstack generator, for example if I delete elements out of an array this change doesn't get stored in Mongoose/mongo. Calling the set function on the mongoose document (e.g. thing.set(..., as suggested by Zerner) resolves the issue for me. I also read this discussion thread: https://github.com/DaftMonk/generator-angular-fullstack/issues/637; it suggests replacing _merge with _extend (see also https://github.com/DaftMonk/generator-angular-fullstack/issues/310) which also works for me.
error in typedoc command, the angular document generator