angularjs-training day2 code