ng click and class for tabs on masters