Hello,
I am working on a basic angularjs app and trying to understand some fundamentals. I came across a concept in a book that states even when an angular data is enclosed between double quotes, it will display as expected. So, I decided to test it out with the following code:
<table class="table table-bordered table-hover table-striped">
<thead>
<tr>
<th>Fname</th>
<th>Mname</th>
<th>Lname</th>
<th>Qualifier</th>
<th>Alias</th>
<th></th>
</tr>
</thead>
<tbody ng-repeat="i in person">
<tr>
<td>{{i.fname}}</td>
<td>{{i.mname}}</td>
<td>{{i.lname}}</td>
<td>{{i.qualifier}}</td>
<td>{{i.alias_}}</td>
<td><a href="/ViewInfo/{{i.pid}}"><i class="fa fa-pencil-square-o"></i>View Information</a></td>
</tr>
</tbody>
</table>
I noticed that in the line where it says 'View Information', the pid is enclosed between double quotes and the application works fine. However, when I click the link, instead of opening 'ViewInfo/pid', the pid part is missing.
Is there something I am overlooking?
Thank you for your help!