fixes #4, scope bug was created by passing elements, therefore moved code inside compile function for isolated scope per instance of editable directive