Hide sidebar when focusing input bar

This is for mobile
Update angular version from beta 8 to beta 18

ngFocus is broken in beta8