I'm working on Angular, I have a page that could be shown in two languages, English and Arabic, in this page there is a table, in case the language is English I want a border-left, and in case the language is Arabic I want a border-right
<table style="width: 55%; border-right: 1px solid #000;">
how can I apply a condition on the style where:
if (lang == 'ar') style="width: 55%; border-right: 1px solid #000;"
else if (lang = 'en') style="width: 55%; border-left: 1px solid #000;"