Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Angular question
Message
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01601977
Message ID:
01602062
Views:
61
This message has been marked as the solution to the initial question of the thread.
>Interesting. Does if check for existence of the property, e.g. since I just added that displayName only in one particular file, would it bomb in others?
>
>I am going to try your suggestion and look into ng-if in more details.

If it has the potential to not exist, you'd have to check for that:
<span ng-if="column.displayName == undefined || column.displayName == ''">{{column.name}}</span>
<span ng-if="column.displayName != undefined && column.displayName != ''">{{column.displayName}}</span>
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform