Questions tagged [angularjs-ng-change]

The ngChange allows to evaluate given expression when user changes the input.

Evaluate given expression when user changes the input. The expression is not evaluated when the value change is coming from the model.

Note, this directive requires ngModel to be present.

Usage

as attribute

<input
  ng-change="expression">
...
</input>

Parameters

ngChange – {expression} – Expression to evaluate upon change in input value.

References:

http://docs.angularjs.org/api/ng.directive:ngChange

265 questions
-1
votes
1 answer

Polymer data-ng-change vs data-ng-blur

I have a paper-input item In the controller, the functions are defined as - function onBlur(x) { ... } function…
user2689782
  • 747
  • 14
  • 31
-1
votes
2 answers

Get ng-model value in controller when using bootstrap ui radio button

I can't seem to get the value of my radio button back into the controller... HTML
-1
votes
3 answers

Get the edited value in AngularJS

I have data in JSON format, like this: "details": { "col1": "value1", "col2": "value2", "col3": "value3", "col4": "value4", "col5": "value5", "col6": "value6", "col7": "value7", "col8": "value8" }
user123
  • 81
  • 1
  • 14
-1
votes
1 answer

ng-change is not working on select in my directive

ng-change, ng-click not working on select only in directive can anyone help me? HTML
directive: myApp.directive("selectList", function(){ return function (scope, element, attr) { var data = scope.items; …
-2
votes
1 answer

AngularJS ng-change not working for Angularjs $compile

Error: $compile:ctreq Missing Required Controller Controller 'ngModel', required by directive 'ngChange', can't be found! sample code //create dynamic UI var targetQDom = '
-2
votes
2 answers

AngularJS ng-change not working correctly

So, this is my select html: I need to set $scope.mode.someOtherValue = false if the checkbox is true. Is there a way to get the value of the checkbox in the ng-change so that I can use it to set the…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
1 2 3
17
18