Angularized the navbar collapse directive.