angular class and practice