Removed the code mirror part as it does not work inside a custom directive