Having some trouble with bootstrap, so some help would be awesome. Thanks
What I would like:(top part)
AngularJS / UI-Bootstrap Answer
style="cursor: pointer; pointer-events: all;"
ng-click
to clear the text.JavaScript (app.js)
var app = angular.module('plunker', ['ui.bootstrap']);
app.controller('MainCtrl', function($scope) {
$scope.params = {};
$scope.clearText = function() {
$scope.params.text = null;
}
});
HTML (index.html snippet)
Here's the plunker: http://plnkr.co/edit/av9VFw?p=preview