use ng-if to make the logic clear
restrice limitation of multiple image uploading