Ion-nav-bar remove border bottom dynamically


#1

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

thank you


#2

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.


#3

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