angularjs - why the div hide while drag it below or down in angular js? -


i trying make custom plugin in angular js .i trying use jquery drag plugin here in angular js .in below example when user draw below not hiding .please use given example https://jqueryui.com/draggable/

but. when use plugin in code .when user drag div below or down or bottom side hide why ? here code http://codepen.io/anon/pen/oxxmqk

    var app=angular.module("ionicapp",['ionic']); app.directive('draggable',function(){             return{             restrict:'a',             scope:{              },             link:function(scope,element,attr){                  $(element).draggable();             }         }     })     app.controller('cnt',function($scope){      }) 

enter image description here

please check out hide when drag @ bottom


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -