Canvas snippets as per the help page for Brackets editor. The extension covers html directives and $tmUi service.
To use it, install Brackets Snippets (by edc) from Extension Manager in Brackets (File->Extension Manager)
After the extension has been installed, click on a bulb icon on the right pane and import the .yml file
In html, start typing tm1 to see all available directives.