如何在angularjs中着重于编辑器编辑器

我已经使用angular度减法器编辑器(编辑器中的HTML编辑器的npm包)我想专注于文本区域(redector编辑器)下面的ng点击代码不工作,但如果我从文本区域中删除redactor="redactor_options"它作品,但编辑不显示。 根据angular-redector文件,他们使用jQuery方法来集中,但是因为我在angularjs上工作是否有任何angularjs方法来做到这一点?

简而言之:有没有什么angularjs方法专注于ng-click的编辑器?

html文件

 `<div ng-click="focusInput=true"> <textarea ng-model="data.content" redactor="redactor_options" cols="30" rows="10" focus-me="focusInput"></textarea> <div>' 

控制器我添加了关于ng-click上textarea的重点指令

 `app.directive('focusMe', function($timeout) { return { link: function(scope, element, attrs, redactor) { scope.$watch(attrs.focusMe, function(value) { if(value === true) { $timeout(function() { element[0].focus(); scope[attrs.focusMe] = false; }); } }); } }; });`