MD GHOUSE MD GHOUSE - 8 months ago 83
AngularJS Question

Using Angularjs how to bind value in Span

Here why span is not showing binding values.Here my intenssion is my span has to work as label

<div ng-controller="MydrpCntrl">

<select class="form-control" ng-options="I.EmployeeId as I.EmployeeId for I in EmployeeList" ng-model="EmployeeId" ng-change="GetEmployees()">

<option value="">Select Employee Id</option>
<span ng-repeat="eee in Emp"> </span>
<br /><br />
<table class="table" style="margin-left:20px">
<th style="cursor:pointer"<b>Employee Name</b></th>
<tr ng-repeat="eee in Emp">
</table> </form>



Try this:

<span ng-repeat="eee in Emp">{{eee.Name}} </span>