javascript - codemirror show hints with angular -


how show hints , define dictionary ui-codemirror?

       $scope.cmoption = {         linewrapping : true,         linenumbers: true,         textwrapping: true,         indentwithtabs: true,         readonly: false,         mode: "javascript",         matchbrackets: true,         autoclosebrackets: true,         gutters: ["codemirror-lint-markers"],         lint: true,         showhint: true     }; 

i tried ng-codemirror-dictionary-hint gives me error

instance.showhint not function


Comments