I need to click on 'homebutton' button of a angular website through typescript in protractor and after clicking need to check that i am on homepage of the website. can anybody tell me this?
You can use various Protractor locators to find the home button and perform click action on it. You can then use an expect to verify that you are back on the home page.
Checkout this site for examples.
I could give you the code here but then I won't be helping you become a good automation engineer.
Without seeing your code , it is difficult to provide a solution to your specific problem.