ngPaste

ngPaste 指令指定使用者貼上內容時要執行的自定義行為

<input ng-paste="paste=true" ng-init="paste=false" placeholder='paste here'>
pasted: {{paste}}