1

Is there a way we can filter the data when it already appears on the table , just wanted to ask how we can remove " ] from interviewer and applicant so that it will not appear based on what is on the screenshot . I want the " and ] remove when it appears on the table. By the way interviewer and applicant is an array , is there a way that when this data appear on the table " " and [ ] will be remove or not appear.

Screenshot https://i.stack.imgur.com/zc19a.jpg

html

<tr ng-repeat="int in main.records.interviews.data track by $index">
                    <td align="center" ng-bind="int.interviewer || 'Unititled'"></td>


 <td align="center" align="center" ng-bind="int.location || 'Unititled'"></div></td>
                <td align="center" ng-bind="int.scheduled_date"></td>
                <td   align="center" ng-bind="int.applicant"></td>
                <td align="center">

response data

[  
   {  
      id:5,
      company:6,
      interviewer:[  
         "asd"
      ],
      applicant:[  
         "helloworld@gmail.com",
         "not@gmail.com"
      ],
      scheduled_date:"2019-03-02",
      …
   }
]
Jhon Caylog
  • 483
  • 8
  • 24

1 Answers1

2

You should print values of array instead of array itself.

<td align="center" ng-bind="int.interviewer.join(', ') || 'Unititled'"></td>
Pal Singh
  • 1,964
  • 1
  • 14
  • 29