app.controller("StreamCtrl", function($scope, $rootScope, $location, UserAuth, currentAuth, $firebaseArray) {
  var postRef = $rootScope.fbRef.child("posts");
  var query = postRef.orderByChild("dateCreated");
  $scope.postArray = $firebaseArray($rootScope.postRef);
  $scope.isFollowing = function() {
    if ($rootScope.currentUser && $rootScope.currentUser.following) {
      var isFollowing = false;
      for (var k in $rootScope.currentUser.following) {
        for (var i = 0; i < $scope.postArray.length; i++) {
          console.log($rootScope.currentUser.following[k].gravatar);
          console.log($scope.postArray[i].postComposerGravatar);
          if ($scope.postArray[i].postComposerGravatar === $rootScope.currentUser.following[k].gravatar) {
            isFollowing = true;
          }
        }
      }
    }
    return isFollowing;
  };
});

@@ -818,20 +818,16 @@
     %7D%0A  
-  %7D%0A
     retu
@@ -842,16 +842,22 @@
 lowing;%0A
+    %7D%0A
   %7D;%0A%7D);

Move isFollowing inside scope