jquery - Angularjs - setting value of list item -
as angular newbie have simple question...
i can reset value in input using ng-model="mytextbox"
, using $scope.mytextbox = '';
in controller how can reset/clear text isn't angular model such list item.
i have:
<li my-draggable="#sortable" ng-bind-html="quicklookhtml"></li>
and html gets injected list item.
question: how can use angular target list item , clear value?
you bind html $scope.quicklookhtml
$scope.quicklookhtml = ""
Comments
Post a Comment