You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 25, 2019. It is now read-only.
I'd like to use a ui-codemirror directive inside my own custom directive, but it appears that it cannot see the directive's scope - I'm trying to define the options for the codemirror block.
I think the problem here is that codemirror directive inside your custom directive is not being compiled. This can be solved by using the compile function inside your directive.
I'd like to use a ui-codemirror directive inside my own custom directive, but it appears that it cannot see the directive's scope - I'm trying to define the options for the codemirror block.
Plnkr here: http://plnkr.co/edit/QdJoF8WxW3r4bzXEYfNe?p=preview Notice that the first codemirror block doesn't have line numbers because it can't see the
options2
object defined on the directive's scope.Is this a bug? Maybe I'm misusing/misunderstanding directive scoping?
The text was updated successfully, but these errors were encountered: