I have server side script as well for first loading

On Wed, Oct 8, 2014 at 8:52 PM, Alexander Karelas <[email protected]>
wrote:

>  Why not create a server-side script that will redirect the browser from 
> *http://short.com/2Adsd4
> <http://short.com/2Adsd4> to *
>
>
>
>
>
> *http://verylongname.com/cars/1232 <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
> <http://verylongname.com/cars/1232>*
>
>  But I want to create something like *http://short.com/2Adsd4
> <http://short.com/2Adsd4>* and loads content from*
> http://verylongname.com/cars/1232 <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].
> 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.
>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/_qvs7qrfFJY/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

-- 
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