AngularJs and Flask-restless skeleton