docs($resource): document port number escaping and fix typo
docs($resource): document port number escaping and fix typo

Closes #1243

ammula88/angular.js,ammula88/angular.js,ammula88/angular.js,ammula88/angular.js,ammula88/angular.js