javascript - Angularjs - ng-disabled with angular.isDefined doesn't work -


i trying enable/disable radio button based on value backend when open kendo window. used ng-disabled angular.isdefined , angular.isundefined in html not working. here code below. per below backend data progressive radio button should disabled.

<div class="col-md-6 zero-left-padding ligther" style="margin-left:-107px;">     <label for="progressive">         <input type="radio" id="progressive" name="version"                  ng-model="adhoctranscode.version" ng-value="24"                  ng-disabled="{{angular.isundefined(jobdetails.aes_data.instance_type_urlmap.nonlinear-progressive) &&                                     angular.isdefined(jobdetails.aes_data.instance_type_urlmap.broadcast) }}"/>         <span style="font-weight:lighter;">progressive &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>     </label> 

backend json object:

"aes_data" : {      "instance_type_urlmap" : {       "broadcast" : "file://int/edam/mbr/broadcast/0067/0067031_cq-0101_i.mxf"     } 


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -