getting the panels working with ng-repeat