I am very proficient in jquery and I just began learning angularjs yesterday. Now, there's something I want to do. I want to have like 2 tabs say in form of li elements. I want that when i click the a certain li element, it will set the current one clicked to say an active class which will have a different one from the other li element tab and then remove text in that li element(in jquery its $('li').text()) and then actions a getJson request to a webservice API. My guess is that the getJson request will be in a controller.

Please help with this. I don't know how to even start and what code to write. so if you can provide me with just little code so i can see the syntax as i am not familiar with angularjs syntax yet. 

Thanks