Thanks CraigWeb for your response.
Here is what I tried.
FIRST ATTEMPT
<pre ng-bind="comp1OutputValues | json"></pre>
<ma-calc output="falseOutput" input=" comp1Output | filter:{comp1Output.value == 0} | maFirst"></ma-calc>
<ma-calc output="trueOutput" input="comp1Output | filter:{comp1Output.value == 1} | maFirst"></ma-calc>
<pre ng-bind="falseOutput | json" ></pre>
<pre ng-bind="trueOutput | json"></pre>
Error shown in attached image
SECOND ATTEMPT
<pre ng-bind="comp1OutputValues | json"></pre>
<ma-calc output="falseOutput" input=" comp1OutputValues | filter:{comp1OutputValues == 0} | maFirst"></ma-calc>
<ma-calc output="trueOutput" input="comp1OutputValues | filter:{comp1OutputValues == 1} | maFirst"></ma-calc>
<pre ng-bind="falseOutput | json" ></pre>
<pre ng-bind="trueOutput | json"></pre>
Error shown in attached image