 
     element.bind 'touchend touchcancel', (e) ->
       if touch.ongoing and e.type is 'touchend'
-	scope.$apply $parse(attrs.bpTap), {$event: e, touch}
-	element.trigger 'tap', angular.extend {type: 'tap', touch}, e
+        scope.$apply $parse(attrs.bpTap), {$event: e, touch}
+        element.trigger 'tap', angular.extend {type: 'tap', touch}, e
       touch = {}
       element.removeClass options.activeClass
 

    for key of options
      attr = attrs["bp#{key.charAt(0).toUpperCase()}#{key.slice(1)}"]
      if attr?
	options[key] = if attr is '' then true else attr

    # #### Intelligent Defaults
    # * Apply `bp-no-scroll` to  `bp-button` within `bp-navbar`

    touch = {}

    element.bind 'touchstart', (e) ->
      touch.y =
        if e.originalEvent.pageY?
          e.originalEvent.pageY
        else
          e.originalEvent.changedTouches?[0].pageY
      touch.x =
        if e.originalEvent.pageX?
          e.originalEvent.pageX
        else
          e.originalEvent.changedTouches?[0].pageX
      touch.ongoing = yes
      element.addClass options.activeClass

    element.bind 'touchmove', (e) ->
      y =
        if e.originalEvent.pageY?
          e.originalEvent.pageY
        else
          e.originalEvent.changedTouches?[0].pageY
      x =
        if e.originalEvent.pageX?
          e.originalEvent.pageX
        else
          e.originalEvent.changedTouches?[0].pageX
      if options.boundMargin and
         (Math.abs(touch.y - y) < options.boundMargin and
         Math.abs(touch.x - x) < options.boundMargin)
