chore($rootScope): checkstyle fix

JSHint fix
fix($rootScope): fix the watcher lookup function

Fix the watcher lookup function so when traversing up
in the scope hierachy the current tail is used