fixed up view to include ng-repeate