JSFiddle - React, Tailwind, and code Playground

by Matthew Day

HTML

<div ng-app="myApp">
  <div ng-controller="MyCtrl as vm">
    <input type="text"
           ng-change="vm.fn1(); vm.fn2()"
           ng-model="vm.someInput"
     />
  </div>
</div>

JavaScript

angular.module('myApp', []);

angular.module('myApp')
.controller('MyCtrl', function() {
	var vm = this;
  vm.someInput = '';
	vm.fn1 = function() {
  	console.log('hit');
  }
  	vm.fn2 = function() {
  	console.log('me');
  }
});