Framework for communication between angular and python