Angular Paste directive fix