var roomUtiliesstr = '';
angular.forEach($scope.RoomUtilisitesCollection, function (item) {
if (item) {
if (item.value == 'true') {
roomUtiliesstr += item.Title + ',';
// selectedUtility.push(item.Title);
//$scope.view.RoomUtilities.push(item.Title);
}
}
});
angular.forEach($scope.RoomUtilisitesCollection, function (item) {
if (item) {
if (item.value == 'true') {
roomUtiliesstr += item.Title + ',';
// selectedUtility.push(item.Title);
//$scope.view.RoomUtilities.push(item.Title);
}
}
});
No comments:
Post a Comment