 
                     # model -> UI
                     ngModelCtrl.$render =  () ->
-                        if !options.readonly
-                            element.addClass('editable')
-                        else
-                            element.removeClass('editable')
+                        element.toggleClass('editable', !options.readonly)
                         vHint.apply attrs
                         return
 

        else
            @element.removeClass('hint--info')
            @element.addClass('hint--error')
    _off: () ->
        @element.removeClass('hint--info')
        @element.removeClass('hint--error')
        @element.removeClass('hint--top')
        @attrs.$set('data-hint', '')
    _set: (text) ->
        @attrs.$set('data-hint', text)
    init: () ->
        #if @enabled()
        ###

                @_off()
        else
            @_off()
        return

# the internal Hint class for bootstrap tooltip
# class HintTooltip
