angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 729 forks source link

Header title is empty #502

Open prorobbert opened 7 years ago

prorobbert commented 7 years ago

Hi everyone,

I'm implementing the calendar into my page. I started with the standard jQuery plugin which was working perfect, except dynamicly loading the data. That's why I switched to the ui-calendar. I now can dynamicly load the data in the agandaDay. The only problem is that when configuring the header, it does everything right except the title. It makes a h2 tag in the fc-left but doesn't fill it while it did before I switched.

This is what it generates:

<div class="fc-toolbar">`
    <div class="fc-left">
         <h2></h2>
    </div>
    <div class="fc-right">
        <button type="button" class="fc-today-button fc-button fc-state-default fc-corner-left fc-corner-right">Vandaag</button>
        <div class="fc-button-group">
            <button type="button" class="fc-prev-button fc-button fc-state-default fc-corner-left">
                <span class="fc-icon fc-icon-left-single-arrow"></span>
            </button>
            <button type="button" class="fc-next-button fc-button fc-state-default fc-corner-right">
                <span class="fc-icon fc-icon-right-single-arrow"></span>
            </button></div></div><div class="fc-center">
        </div>
    <div class="fc-clear">
    </div>
</div>