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

        (if pos then separator else '') + letter.toLowerCase()
    )

# the internal Hint class
class Hint
    constructor: (@options, @element, @attrs)->
    enabled: () ->
        !!@options.hintOn
    _on: () ->
        @element.addClass('hint--top')
        if !@options.readonly

            hint = if options.hint?.length then options.hint else "@#{attrs.ngModel}" #+ options.bind
            attrs.$set('data-hint', hint)
        ###

Hint = HintCss

angular.module('iReactive', [])
    .provider '$iReactable', [() ->
