         syncScope()
 
       setScalingDisabled = ->
-        scope.scalingDisabled = ngPintura.image.minScale is ngPintura.image.maxScale
+        scope.scalingDisabled = ngPintura.image.minScale >= ngPintura.image.maxScale
 
       imageLoad = ->
         scope.fitInView() if scope.fitOnload

    if viewport.height < @node.height()*@minScale
      # compute min scale based on heights of stage and image
      @minScale = viewport.height/@node.height()
    # never 
    @minScale = Math.min(@minScale, 1)

  _fitScale: (scale) ->

      scope.scaleStep ?= 0.4
      scope.mwScaleStep ?= 0.1
      scope.moveStep ?= 100
      scope.fitOnload ?= true
      # append stage container to current element
      element.append(ngPintura.stage.content)
      # resize stage container
