fixed bugs with ngShow / ngHide