codemirror does not always display  content 

Hi,
using ui-codemirror in a child <div> hidden by ng-show="displayValue" does not display the content after the displayValue has toggled to true. 
To fix that, I have to use ng-if  instead of ng-show, or the $timeout suggested in this pull request.