Simplify watchGroupFn assignment using ternary

Request Type: refactor

How to reproduce: 

Component(s): scope

Impact: 

Complexity: small

This issue is related to: performance regression

**Detailed Description:**



**Other Comments:**

Assigning true/false I've changed to use a ternary operator as it's better suited.