fix bug with the collapsible attribute of the dashboard directive