AngularJS directive for mathquill