Simple Flask test using Flask-SQLalchemy and an angularjs front-end