fix(angular.equals): regular expressions are never considered equal

Regular expression objects are never considered to be equal when using
'angular.equals'. Dirty checking therefore fails to recognize a
property modification.

Closes #2685