I want to control ng-hide without having to write dedicated method in controller. Something like:
<div ng-hide="session.filter==''">{{session.filter}}</div>
Is it possible?
Yes it is and it is easy to verify, just add an E2E test and give it a try, that will be faster than posting a question and waiting for an answer. Plus, you'll improve your testing suite :)
$scope.session.filter to anything? Could you post the code that sets it?