move angular script conversions