"use strict";
var PhotoStreamController = function($scope, $http, $log, analytics, resourceCache) {

	$http({method: "GET", url: "/api/v1/hikes", cache: resourceCache}).
		success(function(data, status, headers, config) {
			// Only show the hikes that have photo previews
			var hikes = jQuery.grep(data, function(hike){
				return hike.photo_preview;
			});
			$scope.hikes = hikes
		}).
		error(function(data, status, headers, config) {
			$log.error(config);
		});

	$scope.hikes = [];
};

PhotoStreamController.$inject = ["$scope", "$http", "$log", "analytics", "resourceCache"];
@@ -92,16 +92,44 @@
 Cache) %7B
+%0A%09/*jshint camelcase:false*/
 %0A%0A%09$http
@@ -404,16 +404,17 @@
  = hikes
+;
 %0A%09%09%7D).%0A%09

Fix static analysis errors.