JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<link rel="stylesheet" href="http://vitalets.github.io/angular-xeditable/dist/css/xeditable.css">
<script src="https://raw.githubusercontent.com/vitalets/angular-xeditable/0.1.9/dist/js/xeditable.js"></script>
<div ng-app="app" ng-controller="Ctrl">
  <form name="Myform" editable-form>
    <a href="#" class="pull-left" data-editable-text="name" class="editable-click" ng-click="$Myform.$show()" e-ng-blur="$Myform.$hide()">{{formatName(name)}}</a>
  </form>
</div>

JavaScript

var app = angular.module("app", ["xeditable"]);

app.run(function(editableOptions) {
  editableOptions.theme = 'bs3';
});

app.controller('Ctrl', function($scope, $filter) {
  $scope.name = null;

  $scope.formatName = function(name) {
  	return (name !== null && name.length > 0 ? name : 'empty');
  };
    
    
});