       maxScaling: '=?ngpMaxScaling'
       scaleStep: '=?ngpScaleStep'
       mwScaleStep: '=?ngpMwScaleStep'
+      showIndicator: '=?ngpShowIndicator'
       moveStep: '=?ngpMoveStep'
       progress: '=?ngpProgress'
     link: (scope, element, attrs, ctrl, transcludeFn) ->

    @image.adjustScaleBounds(@stage.size())

  # loads new image and shows loading indicator 
  imageChange: (src) ->
    @image.node.visible(false)
    @indicator.node.visible(true)
    @indicator.animation.start()
    if typeof src is 'string' 
      Konva.Image.fromURL(src, (newImage) =>
        @setImage(newImage.image())


      # changes image
      imageChange = -> 
        ngPintura.imageChange(scope.src, scope.showIndicator)

      positionChange = -> 
        if scope.position?.x and scope.position?.y
