I\'ve create a directive that generates Twitter buttons. Since the scope variables on those buttons may change, I need to rebuild the button when it happens. Currently, I\'m
What your trying to do follows suit with the compile function within directives, it re-renders the html. Have you tried that?
This is sort of a hacky way of doing it, but putting an ng-if truthy variable on the directive, and when you want to render, set and unset the truthy variable:
angularjs: force re-rendering/ full refresh a directive template