In this example of Ng-Style, We have a dropdown with values ng-model="size" that will give the height and width for the image. Whatever selection will be made by the user that will be applied to the image.See the code:
Ng-Style
ng-model