Why not create a server-side script that will redirect the browser from
*http://short.com/2Adsd4 to *
*http://verylongname.com/cars/1232 ?
- Alex
*
On 05/24/2014 08:35 PM, Andrey Stegno wrote:
Hi all
Have task to apply short url to my current application for sharing
By default I have working version *http://verylongname.com/cars/1232*
But I want to create something like *http://short.com/2Adsd4* and
loads content from*http://verylongname.com/cars/1232*
*
*
I use route params everywhere which referencies to url state. So short
url forces me to change all my $routeParams referencies.
And I know how but my solution is complex and ugly.
Do you have well designed solution for that?
--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
--
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.