better conventions in Flask and Angular