I was getting some errors trying to use the .save() shortcut and found that it was because I was trying to save something to MongoDB (a field) that started with a $, which is illegal.
I saw the cleanupAngularObject method, and that it was being used... but not .save().
I was getting some errors trying to use the
.save()
shortcut and found that it was because I was trying to save something to MongoDB (a field) that started with a$
, which is illegal.I saw the
cleanupAngularObject
method, and that it was being used... but not.save()
.