tooltip: check $$phase in $rootScope to prevent double $apply error when...

... in isolated scope [fixes #418]

Either use the $rootScope to call the `digest` or use the `$apply` safe `$timeout` angular service.