JSFiddle - React, Tailwind, and code Playground
by Hifni Nazeer
HTML
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<div ng-app="app" ng-controller="ctrl">
<label for="tags">Tags: </label>
<input id="tags" ng-model="tagName" ng-blur="reFill()" />
<input type="button" value="click me" ng-click="reFill()" />
<span>{{tagName}}</span>
<span ng-bind="status"></span>
</div>
JavaScript
var app = angular.module('app', []);
app.controller('ctrl', function($scope) {
$scope.tagName = ".NET";
$scope.status = "OK";
$scope.reFill = function() {
alert('halo');
$scope.status = "Re-Filled";
};
});