image directive of angular improved