I was able to determine how to add a button to the Time Header simply by setting the html like so:
onBeforeTimeHeaderRender: function (args) {
if (args.header.level === 1) {
args.header.html = args.header.html + "<br/><a onclick='bookAll();'>Book</a>";
}
},
However, while the above works (the bookAll() function is called), I'm using angular and would like the following to work (which it doesn't):
onBeforeTimeHeaderRender: function (args) {
if (args.header.level === 1) {
args.header.html = args.header.html + "<br/><a ng-click='vm.bookAll();'>Book</a>";
}
},
Is there any way to trigger an angular method within my angular controller on the button click?