Angular JS with Flask backend