How to hide or disable buttons?

In my project I have two buttons called sign-in and sign-up button on my header.

What I want to achieve is,after successful sign-in i want to disable sign-in button and hide sign-up button.

You could disable the sign-in button using ng-disabled (https://docs.angularjs.org/api/ng/directive/ngDisabled) and hide de sign-up button using ng-hide (https://docs.angularjs.org/api/ng/directive/ngHide)

Here an example: http://blog.dynamicprogrammer.com/2014/05/16/user-feedback-on-PhoneGap-with-Ionic-part-6.html