docs(ngController): Fix priority value mentioned in the docs

The `@priority 500` part was missing from the ngDoc comment, thus the docs mentioned a priority of 0
(instead of the correct 500).

Closes #9070
refactor(map) Use Array.prototype.map instead of our own function

Replace helper functions with the native ES5 method