Create subdocument and save value with Angularjs and Mongoose (meanjs) Create subdocument and save value with Angularjs and Mongoose (meanjs) mongoose mongoose

Create subdocument and save value with Angularjs and Mongoose (meanjs)


You have data-ng-model="mc.twitter" set in your html but in the javascript you attempt to access this.social.twitter. If I haven't missed anything, that's you problem. You should change either one of them to have them be the same, for instance changing your html to: data-ng-model="social.twitter".