How to manipulate the DOM inside a Modal

Hello everybody,

I am trying to manipulate the DOM inside a modal.
I’ve tried with

ng-class="getMyStyle()" 

to add inline style to an image, but I don’t know why the function fired 6 times on open and 2 times on close.
Then I am trying with ng-init and this fired only once, but then I don’t know how to manipulate the element.
thanks for support!!!

maybe you should add an own directive for that… there your get the element --> and can set things like element.css({…})

Yes thanks, I didn’t think about this possibility.
I appreciate it.