json - AngularJS Date Not Appearing -


my json date looks like: "dateofbirth":"1964-05-11t00:00:00"

but not appear on page.

here html angularjs tags:

        <div id="dvenrollees">             <table id="tblenrollees">                 <thead>                     <tr>                         <th>enrolleenumber</th>                         <th>firstname</th>                         <th>lastname</th>                         <th>middlename</th>                         <th>programid</th>                         <th>ssn</th>                         <th>gender</th>                         <th>maritalstatus</th>                         <th>dateofbirth</th>                     </tr>                 </thead>                 <tbody ng-repeat="enrollee in enrollees">                     <tr ng-click="get(enrollee)">                         <td> <span>{{enrollee.enrolleenumber}}</span></td>                         <td> <span>{{enrollee.firstname}}</span></td>                         <td> <span>{{enrollee.lastname}}</span></td>                         <td> <span>{{enrollee.middlename}}</span></td>                         <td> <span>{{enrollee.programid}}</span></td>                         <td> <span>{{enrollee.ssn}}</span></td>                         <td> <span>{{enrollee.gender}}</span></td>                         <td> <span>{{enrollee.maritalstatus}}</span></td>                         <td> <span>{{enrollee.dateofbirth}}</span></td>                     </tr>                 </tbody>             </table>         </div> 

i can see data in response body, , of other fields appear properly, not dateofbirth.

please help.

you using:

{{enrollee.dateofbirth}} 

instead of:

{{enrollee.dateofbirth}} 

notice lowercase "o" in "ofb..."


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -