Converted home template to ng-repeat