top-level buttons work via ng-repeat; can post new note to db