# Append text to binded item dynamically

**URL:** <https://forum.ionicframework.com/t/append-text-to-binded-item-dynamically/102845>\
**Category:** ionic-v3\
**Created:** [August 22, 2017, 10:33am UTC](https://forum.ionicframework.com/t/append-text-to-binded-item-dynamically/102845 "2017-08-22T10:33:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhameer](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dhameer](https://forum.ionicframework.com/u/dhameer)\
**Post date:** [August 22, 2017, 10:33am UTC](https://forum.ionicframework.com/t/append-text-to-binded-item-dynamically/102845/1 "2017-08-22T10:33:43Z")

</div>

Hi guys

I am trying to append text to a binded item but am not sure if it can be done like this

```auto
                        <ion-row no-padding *ngFor="let item of movieData">
                            <ion-col>{{item.running_time}} min and {{item.age_restriction}}</ion-col>
                        </ion-row>

```

So basically I want to append the “and” to {{item.age\_restriction}}. The reason is that if there is no {{item.age\_restriction}} data then it should not show the word “and”.

I have also tried the below but I get errors

```auto
                        <ion-row no-padding *ngFor="let item of movieData">
                            <ion-col>{{item.running_time}} min <span [innerHTML]='"and"&&"item.age_restriction"'></span></ion-col>
                        </ion-row>

```

---

<div class="post-metadata">

**Author:** ![Jacktoolsnet](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jacktoolsnet/32/107318_2.png) [@Jacktoolsnet](https://forum.ionicframework.com/u/Jacktoolsnet)\
**Post date:** [August 22, 2017, 10:39am UTC](https://forum.ionicframework.com/t/append-text-to-binded-item-dynamically/102845/2 "2017-08-22T10:39:39Z")

</div>

try

```auto

<ion-col>{{item.running_time}} min <span *ngIf=" item.age_restriction != '' ">{{item.age_restriction}}</span>

```

---

<div class="post-metadata">

**Author:** ![dhameer](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dhameer](https://forum.ionicframework.com/u/dhameer)\
**Post date:** [August 22, 2017, 10:42am UTC](https://forum.ionicframework.com/t/append-text-to-binded-item-dynamically/102845/3 "2017-08-22T10:42:01Z")

</div>

@Jacktoolsnet This works, thanks a lot
