step 4: implemented Angular JS