Ion-nav-bar remove border bottom dynamically

Which is the best practice to remove the border-bottom from navigation while im on a specific route state?

thank you

An quick approach:
Watch state change -> if specific route is called set variable (else set it to false) on $rootScope or any other outer scope.
-> set special class with ng-class if variable is true.

thank you exactly what i was thinking about to do, but i was wondering if good practice or not :wink: