AngularJS directive for flippant.js