Hi,
I am using syncfusion dropdownlist. I want to create a dropdownlist for blood group in my form. How can I do that in angularjs?
<input type="text" ej-dropdownlist e-datasource="BloodGroup_List" e-value="Name">
In my controller I have written,
$scope.bloodgroup = [{ "Id": "1", "Name": "O+" },
{ "Id": "2", "Name": "O-" },
{ "Id": "3", "Name": "A+" },
{ "Id": "4", "Name": "A-" },
{ "Id": "5", "Name": "B+" },
{ "Id": "6", "Name": "B-" },
{ "Id": "7", "Name": "AB+" },
{ "Id": "8", "Name": "AB-" }];
$scope.BloodGroup_List = $scope.bloodgroup;
The above code is not working, where am I wrong?