angularjs, front displays list of groups