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

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -