Answer the question
In order to leave comments, you need to log in
How to display a custom directive template using ng-mouseenter?
I'm new to angular, I'll try to be clear.
There is this DOM:
<div ng-controller="MyCtrl">
<div ng-mouseenter="innerPreview(id)"></div>
<div ng-mouseenter="innerPreview(id)"></div>
<div ng-mouseenter="innerPreview(id)"></div>
/* сюда надо вывести темплейт кастомной директивы с нужными данными */
<div id="preview" custom-directive></div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question