Practice of angular js