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

      # play
      @tween.play()

module.service('ngPintura', -> new NGPCanvas())

###*
# pintura container
# creates and shares paperjs scope with child directives
# creates canvas
###
module.directive 'ngPintura', (ngPintura, $window) ->
  directive = 
    transclude: true
    scope:

      moveStep: '=?ngpMoveStep'
      progress: '=?ngpProgress'
    link: (scope, element, attrs, ctrl, transcludeFn) ->
      # initializing Canvas
      ngPintura = new NGPCanvas()

      # slider value and conversion functions
      scope.slider =
        # current slider value
