Hi Marc,

I could also write my own forEach and isUndefined in plain javascript. But 
> since AngularJS already does this they expose it through an API, and I 
> don't have to write it.
>
The core team has on a number of occasions  put out, that they where 
unhappy with this decision. They do regret putting those utility functions 
in the core.
and for that matter you don't need to program your own forEach 
<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach>,
 
it's available in ES5. As goes for quite some other utility functions.

 

> I want to pass one of the paths that I original passed to 
> $routeProvider.when(path, {...}) along with an object of parameters and get 
> a resulting URL which I could set in $location.path().
>
 
Well, If you really want something like this in AngualrJS, file issue on 
github. If you accompany it with an Pull Request, with fully tested code, 
there is a fair change
it will get included in one of the next 1.3.x versions.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to