Learning angularjs and flask