A demo on AngularJS directive