Menu >> ionic2 >> change side (left or right) dynamically


i’m using ion-menu with sideMenu = left or right inside the class , it change when we change the language.
the sideMenu variable change but i don’t know why the side menu don’t .

<ion-menu [content]="mifonMenu"

i also try another syntax : [attr.side]="isRtl?'right':'left'"

it woks, but when i change the side menu to right : and i open the menu : it start coming from end of left to the right and when i close it : it do the inverse.

hope anyone can help me .