Cool, yes, my original intent was to make this ckReplace generic enough and contribute this to the AngularJS project or maybe a separate project for that since I think it's really useful, specially when using Twitter Bootstrap.