JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app="myApp" ng-controller="myCtrl as dl">


  <input type="checkbox" value="" ng-model="filterPrivateDocCheckBox" ng-click="dl.filterPrivateDocument(filterPrivateDocCheckBox, $event)">
  <input st-search="target" class="input-sm form-control" ng-model="dl.documentTarget" ng-change="dl.change()" />

</div>

JavaScript

angular.module("myApp", [])
  .controller("myCtrl", function($scope) {
    var _self = this;
    _self.change = function() {
      alert("changed");
    }
    _self.filterPrivateDocument = function(val) {
      if (val)
        _self.documentTarget = 'Private';
        _self.change();
    }
  });