Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Angular question
Message
 
 
To
All
General information
Forum:
Javascript
Category:
Other
Title:
Angular question
Miscellaneous
Thread ID:
01601977
Message ID:
01601977
Views:
81
Hi everybody,

I have the following code for the listing of the table in the chtml view file which uses Angular.js framework:
        <tbody>
                            <tr ng-repeat="result in results" ng-click="loadView(result)">
                                <td class="col-md-10">
                                    {{ result.descrip }}
                                    <span class="label label-danger pull-right" ng-show="result.hidden">Hidden</span>
                                </td>
                                <td class="col-md-2">
                                    {{ result.tmplType | passTicket}}
                                    <span class="label label-danger pull-right" ng-show="result.hidden">Hidden</span>
                                </td>
                            </tr>
                        </tbody>
As a result, I see title of the column saying 'Descrip' and 'tmplType'. I want to change the columns titles in the table to be 'Description' and 'Type' instead.

I am looking at this code and I can not figure out how to do it.

Can you please tell me what to change here?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform