thanks for the help. Sentence1: hello this is java , on click of it it should change to Sentence2: Hello this is not java.
can anyone give me a good solution for this , I have a input tag and check box and there ng-change is working fine , but I want the same logic with text change.
<div ng-model="form.app" ng-change="updating()" >
<input ng-model="form.app" ng-change="updating()" type="checkbox">