時計がng-model="billing.inputBoxFilter"
への変更をキャッチしていません。何か案は?エラーはありません。 console.log
時計がControllerAsでthis.valueをキャッチしていません構文
<ng-include
src="'billing/billing.html'"
ng-controller="BillingCtrl as billing"></ng-include>
angular.module('patientBilling')
.controller('BillingCtrl', [
this.inputBoxFilter;
$scope.$watch(angular.bind(this, function() {
return this.inputBoxFilter;
}, function(newValue, oldValue) {
console.log(newValue);
}));
は 'バインドを()'あなたは常に 'this'参照を格納するベストプラクティスに従うと – charlietfl