sample python with angularjs