added some angularjs logic for law students