I am working on a project basec on the metronic template which has elements with the class m-menu__toggle Because of the hyphen and underscore I am not sure what to name the directive.
The following does not work:
import angular from 'angular';
const module = angular.module('app.directives.menuToggle', []);
module.directive('m-menu__toggle', function() {
  return {
    restrict: 'C',
    link: function(scope, elem, attrs) {
      elem.css('color', 'red');
      elem.css('border', '1px solid red');
      elem.css('cursor', 'help');
    }
 };
});
export default module.name;
 
     
    