marsApp.filter(\"transformSensorStatus\", function($scope) { return function(input, options) { var sensorReading = ( input ? ( input / 1000) : 0); var senso
The $scope is available only for controllers and the link function of directives. This is why the filter cannot find it. Maybe you meant $rootScope?
$scope
$rootScope