photos in index page controller by angular trailsindexcontroller