Hi. Thanks for your answer. I did what you said as a test. I placed that path ruby code in the application.html.erb where the template is supposed to be loaded but it just returned a text in the screen with that string ‘home.html’. And in fact I understand I’m not supposed to place a specific path in there, but just the <ui-view> tag which should render the proper template according to the state we call. The weird thing is that if you look at the logs or the network inspection you can see that the template was loaded, but as javascript. Apparently this is part of the default way this ui-router works but I just don’t know if the problem relates to it somehow.
> On 9/02/2015, at 11:15 am, Ji <[email protected]> wrote: > > <%= asset_path 'home.html' %> -- 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.
