Following is my code:
<span id="agText" class="ag-header-cell-text">
<span style="height: 100%;">Coordinator</span>
</span>
I was trying the following:
var cordinator = element(by.cssContainingText('#agText > span','Coordinator'));
I think you could use #agText span
e.g.
var cordinator = element(by.cssContainingText('#agText span','Coordinator'));