-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Allow interpolation inside ng-message (fix for #11616) #12001
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
I have just signed the "first contribution" report. |
CLAs look good, thanks! |
Thanks for the PR. As you wrote in the issue, couldn't you also simply move the watch logic back to the link function? |
Also, we need a test for this. |
forAttr: '@for' | ||
}, | ||
scope: true, | ||
controllerAs: 'ngMessagesController', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and scope: true
are changing the semantics of the directive. Not sure if we want this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with @Narretz we do not want to add this new scope
Introduced by Closes angular#11616 Closes angular#12001
Introduced by Closes angular#11616 Closes angular#12001
#11616