I have set the id of the ng-repeat = objectId, ie
<div class="mainListLabel " ng-if="profile==1" id={{obj.boeId}}
ng-repeat="obj in mainList"
ng-click="getEmployeeInformation(obj.boeId)">{{obj.boedisplayName}}</div>
when I try to do
document.getElementById("1163").value, I get undefined
or when I do
angular.element('#1163').val(), I get ""
I am assuming the reason for this is because the script file is executed before the dynamic id is assigned, is there any way I can get the value from the elemental id