Skip to content

Decorator callback doesn't fire #223

Description

@goldylucks

I want to decorate the directive with default options, but the decorator CB never fires. I have other directives I'm decorating in the same way and they do work.

Any ideas?
Thanks for the awesome project!

angular
  .module('myModule', ['summernote'])
  .config([
    "$provide",
    function ($provide) {
      console.log("$provide"); // this logs
      $provide.decorator("summernoteDirective", [
        "$delegate",
        function ($delegate) {
          console.log("$delegate", $delegate);// doesn't log
          // decorate with defaults
          return $delegate;
        },
      ]);
    },
  ])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions