Login not required to see homepage. Shorten angularjs ng-repeat