I am looking to develop a component that includes a transcluded section, take a look at this example:
http://jsfiddle.net/vp2dnj65/1/
Upon clicking the "do" button in the example, nothing seems to happen.
Is there a way to execute the transcluded controller function from a component placed within the transcluded section?
Below is the HTML code snippet:
<panel> // 'trans' is the controller name of panel
<button ng-click="trans.do()">do</button> //transcluded part
</panel>