         {{tool.heading}}
       </div>
       <div class="panel-body">
-        <iframe seamless src="{{tool.src}}" width="100%">
+        <iframe is-seamless="tool.seamless" src="{{tool.src}}" width="100%">
       </div>
     """
     link: (scope, element, attrs) ->


  doesntIntersectWith = (p1, q1) -> ({p, q}) -> not lines.intersects p1, q1, p, q

  Directives.directive 'currentStep', Array '$window', ($window) ->
    restrict: 'C'
    scope:
      tool: '=tool'


      channel.bind 'nextStep', (trans, data) -> console.log data

      scope.$watch 'tool.ident', (ident) ->
        return unless ident and conf[ident]
        channel.call
          method: 'configure'
          params: conf[ident]
          success: -> console.log "Configured #{ ident }"

      scope.$watch 'step', (step) ->
        return unless step?
        step.$promise.then ->

          channel.call
            method: 'init'
            params: step.data
            error: -> console.error "initialization failed"
            success: -> console.log "Initialized"

          for link in $window.document.getElementsByTagName('link') then do (link) ->
            channel.call
              method: 'style'
              params:
                stylesheet: link.href
              success: -> console.log "Applied stylesheet: #{ link.href }"


  Directives.directive 'filterTerm', ->
