Learning Flask + Mongo + AngularJS