Question: For some reason im losing scope of ngtable params in my view , everything in ngtableparams is undefined ( i see in angularjs batarang binding ).

my controller code is

```
this.contractsParams = new ngTableParams({

        defaultSort: 'asc',
        counts: [],
        total: 10, // length of data
        getData: function ($defer, params) {                
            this.MyService.query(
               angular.bind( function (data) {
                 debugger;
                 $defer.resolve(data.Data);
            }));
        }

    });

```

also , the getdata is not getting called at all ever.

My View

```
<table ng-table="controller.contractsParams">
<tr ng-repeat="contract in $data">
      <td data-title="'Title'" data-sortable="'Title'">{{contract.Title}}</td>
</tr>

```

Answer: 
For each condition there's a different answer

For 

```
coalesce(Indicator, 'N') = 'N'

```

You get

```
coalesce('N', 'N') = 'N' --> 'N' = 'N' --> True
coalesce('Y', 'N') = 'N' --> 'Y' = 'N' --> False
coalesce(Null, 'N') = 'N' --> 'N' = 'N' --> True

```

and for 

```
coalesce(Indicator, 'N') = 'Y'

```

you get

```
coalesce('N', 'N') = 'N' --> 'N' = 'N' --> True
coalesce('Y', 'N') = 'N' --> 'Y' = 'N' --> False
coalesce(Null, 'N') = 'Y' --> 'N' = 'Y' --> False

```
`coalesce(Indicator, 'N')` says if `Indicator is null` then take `N` as it's value else the value holded by `Indicator`.

so, if `Indicator is null` then the below condition holds `TRUE`

```
coalesce(Indicator, 'N') = 'N'

```