This directive allows you to add hint support for your Codemirror instance based on a custom dictionary.
You can install using
Load the script files into your application. Note that you need to load the CodeMirror hint addon as well.
Add this module as a dependency to your AngularJS app:
Finally, add the directive to your HTML as an attribute.
- You can bind a scope variable (whose value must be an array) and optionally change it over time.
- You can bind a static array inline as well.