var httpRequest = $http({
            method: 'POST',
            url: "URL",
            data: { Params }
        }).then(
        function successCallback(response) {
            $scope.ApiServiceObject.EntityTemplateId = response.data.d.dropdownvalue;
        },
        function errorCallback(response) {
        });
But when I'm trying to set value to my drop-down from a integer property its not working.   So I changed bellow line and everything working fine now. 
 $scope.ApiServiceObject.EntityTemplateId = response.data.d.dropdownvalue.toString()
 
 
 
No comments:
Post a Comment