fix(angular.toJson): only strip properties beginning with $$, not $

Closes #1463