upgrade to angular 1.2 + use the new promise given by new angular resources
improve link generation on the contenteditable