Chapter 2 done from pro angular js