week6task2 done - both jquery and angular.js way