I have this element:
<div ace-editor dl-editor></div>
And these directives:
angular.module('DLApp')
.directive 'aceEditor', () ->
restrict: 'A'
priority: 10
scope: false
link: linkFunc1
.directive 'dlEditor', (Graph) ->
restrict: 'A'
priority: 0
scope: false
link: linkFunc2
(I know that 0by default)
dlEditoralways executed first, then aceEditor. What am I doing wrong?
Mosho source
share