title: Disable zoom for an image in ionic?
body: <p>I have an ionic template which contains an image file along with the canvas. The purpose for that was to draw something on image file by using pencil and erase it using eraser.</p>
  
  <pre><code>&lt;ion-scroll delegate-handle="drawView" on-scroll="onScroll()" zooming="true" direction="xy" scrollbar-x="{{Zoom}}" scrollbar-y="{{Zoom}}" locking="{{Zoom}}" has-bouncing="false" min-zoom="1"&gt;
  
      &lt;draw-image&gt;&lt;/draw-image&gt;
  
  &lt;/ion-scroll&gt;
  
  &lt;div class="bar bar-footer bg-grey" data-tap-disabled="false"&gt;
       &lt;div style='margin: 0 auto;display: inline-block;'&gt;
          &lt;button ng-click='getClickedIcon("pen")' class='button icon ion-edit pen bg-transparent'&gt;&lt;/button&gt;
          &lt;button ng-click='getClickedIcon("eraser")' class='button icon eraser bg-transparent' style='margin-left:0;border: none;'&gt;&lt;i class="fa fa-eraser"&gt;&lt;/i&gt;&lt;/button&gt;
          &lt;button ng-click='getClickedIcon("clear")' class='button icon ion-close-round clear bg-transparent ' style='margin-left:0;'&gt;&lt;/button&gt;
  
       &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Right now the issue is whenever the person draw something on canvas and zoom the image then canvas doesn't get resize as per image and the draw functionality fails. </p>
  
  <p>So what i want that whenever user click on pencil the zoom functionality should be disable for the image but not for the ion-scroll and whenever the user deselect the pencil it should enable it.</p>
  
  <p>I want to disable the image zoom not the ion-scroll zoom.</p>