Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract multi-transclude workaround into directive
The `multi-transclude` attribute directive encapsulates the angular 1.4 workaround for multiple transclusion targets pioneered in `kbn-top-nav` for separation of concerns and re-use. There are some differences to the implementation in `kbn-top-nav`: * The directive logic is completely contained inside the link function and therefore won't interfere with other controllers. * The slots are declared as the attribute value. * The transcluded items are appended to the transclusion target's children instead of replacing the whole target. This preserves the attributes present on the target element.
- Loading branch information