angular js some changes