update to angular 1.2.14, improve rpc dispatch