JSFiddle - React, Tailwind, and code Playground
by vural kaya
HTML
<script src="http://code.angularjs.org/1.0.1/angular-1.0.1.js" ng:autobind></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<div ng-app>
<h2>Araba Bul</h1>
<a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>
</div>
CSS
h2{float:center}
JavaScript
angular.module('arababul',[])
.directive('direc',function(){
return {
restrict:'E',
scope:
{name:'bind'}
template:'<div>Vural{name}</div>'
}
})