docs(filter.js): documents second parameter to .register
docs(filter.js): documents second parameter to .register

Closes #12378

ggershoni/angular.js,ggershoni/angular.js,ggershoni/angular.js,ggershoni/angular.js