Answering your question, you can call angular.element('elementSelector').controller('ngModel')
. It would return the ngModel the same way a require
would.
The question is: if you are creating a new directive, why not use its require feature? There are big chances that you are not using the right solution for your problem. So a bit more of code would give us the opportunity to further enlighten your question.