driftyco/ionic — pull request #2381 by wesleycho (2014-10-10 13:43:17+00:00)
Title: fix(navBackButton): Fix back button state

- Removed dead code
- Change watcher in navBackButton to use navBarCtrl.showBackButton

Currently as reported in #2353, the $ionicNavBarDelegate.showBackButton reports false - this is because the back button state is being handled by the navBackButton directive, which never calls the navbar controller to test for when to show the back button, which in turn results in the navbar controller never being notified when the state is changed so that it can notify via the service.