move to angular js