(args, index, name)
| 2147 | } |
| 2148 | |
| 2149 | function assertArgDefined(args, index, name) { |
| 2150 | if (args.length > index && angular.isUndefined(args[index])) { |
| 2151 | throw new Error('Undefined argument `' + name + '`; the argument is provided but not defined'); |
| 2152 | } |
| 2153 | } |
| 2154 | |
| 2155 | function stripQueryAndHash(url) { |
| 2156 | return url.replace(/[?#].*$/, ''); |
no outgoing calls
no test coverage detected