lib: add polar to cartesian func
chap_3: use polarToCartesian func in angular example