ngInject export function minemeldOptions ( ) { return { restrict : 'E' , templateUrl : 'app/components/options/options.html' , bindToController : true , transclude : true , link : function ( scope , element , attr ) { var divCtr = element . children ( '.minemeld-options' ) . children ( 'div' ) ; element . find ( '.minemeld-options-knob' ) . bind ( 'click' , function ( ) { divCtr . toggleClass ( 'minemeld-options-show' ) ; } ) ; } } ; }