JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js"></script>
<script src="http://vitalets.github.io/angular-xeditable/dist/js/xeditable.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">
<h4>Angular-xeditable Text (Bootstrap 3)</h4>
<div ng-app="app" ng-controller="Ctrl" class="container">
<div class="row">
<div class="col-xs-12">
<input type="text" class="form-control" value="My full-width input" />
<a href="#" buttons="no" editable-text="user.name">{{ user.name || 'empty' }}</a>
</div>
</div>
</div>
JavaScript
var app = angular.module("app", ["xeditable"]);
app.run(function (editableOptions, editableThemes) {
editableOptions.theme = 'bs3';
editableThemes.bs3.formTpl = '<form class="editable-wrap" role="form" ng-class="xformClass"></form>';
editableThemes.bs3.controlsTpl = '<div class="editable-controls form-group row" ng-class="{\'has-error\': $error}"></div>';
});
app.controller('Ctrl', function ($scope) {
$scope.user = {
name: 'Click this, the input is now 12 columns wide.'
};
$scope.xformClass = "col-xs-12";
});