I have a simple ui-codemirror page with ng-model bind to a string of code like this ``` javascript $scope.str = "Hello\ I'm Jhon"; ``` But ui-codemirror not respect indentation so I put ``` javascript $scope.str = "Hello\n\ I'm Jhon"; ``` And It works fine. Is there a solution without using `\n` default?
I have a simple ui-codemirror page with ng-model bind to a string of code like this
But ui-codemirror not respect indentation so I put
And It works fine.
Is there a solution without using
\ndefault?