Added colorbox functionality to the image page via angularjs directive