<div>
    <div ng-show="alertMessage != undefined && alertMessage != ''">
        <p><a ng-click="goHome()">Clear filter</a></p>
        <alert close="closeAlert()">{{alertMessage}}</alert>
    </div>

    <div class="btn-toolbar">
        <div class="btn-group">
            <button class="btn btn-success" ng-click="changeView('agendaDay', 'myCalendar')">Day</button>
            <button class="btn btn-success" ng-click="changeView('agendaWeek', 'myCalendar')">Week</button>
            <button class="btn btn-success" ng-click="changeView('month', 'myCalendar')">Month</button>
        </div>
    </div>
    <div style="padding-bottom: 16px;" ui-calendar="uiConfig.calendar" calendar="myCalendar"
         ng-model="eventSources"></div>
</div>

<div>
    <div ng-show="alertMessage != undefined && alertMessage != ''">
        <p><a ng-click="goHome()">Clear filter</a></p>
        <alert close="goHome()">{{alertMessage}}</alert>
    </div>

    <div class="btn-toolbar">
        <div class="btn-group">
            <button class="btn btn-success" ng-click="changeView('agendaDay', 'myCalendar')">Day</button>
            <button class="btn btn-success" ng-click="changeView('agendaWeek', 'myCalendar')">Week</button>
            <button class="btn btn-success" ng-click="changeView('month', 'myCalendar')">Month</button>
        </div>
    </div>
    <div style="padding-bottom: 16px;" ui-calendar="uiConfig.calendar" calendar="myCalendar"
         ng-model="eventSources"></div>
</div>

Clear filter when dismissing the filter alert.
Clear filter when dismissing the filter alert.
