Also, one thing I forgot to mention in my original post, I am using
uiRouter to handle routes on my site.
Rene
On Monday, July 21, 2014 11:43:00 AM UTC-4, Rene Zelaya wrote:
>
> Hi everyone,
>
> I'm trying to get my site to redirect to the home page/state whenever
> there is no state (So that if the url ends in '.edu', for example, it
> automatically redirects to '.edu/#/home' ). However, I don't want this to
> happen if the user enters another url that is also part of my angular app
> directly into a new browser window (this happens if I have something like
> "if ($state['current']['name'] === ' ') {$state.go('home');}" in my main
> app '.run' function). Does anyone have any ideas? Thanks!!
>
> Rene
>
--
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.