Did  you try Shawn's solution? 

If not i'll have a look at my code and send u a sample. 
Vinicius Antonio Bolzani


> On Jul 10, 2015, at 8:45 AM, Shawn Fan <[email protected]> wrote:
> 
> Hi Vani,
> 
> I've been having the same issue ... No errors but the home.html template does 
> not render. I've looked up online, and even find your StackOverflow post 
> (http://stackoverflow.com/questions/28314903/ui-routing-not-redering-with-rails).
> 
> However, removing the javascript tag does not work for me....
> 
> Do you have any thoughts on this? Or if you could share with me the 
> functional code for this? Thanks in advance...
> 
>> On Sunday, February 8, 2015 at 5:37:05 PM UTC-5, Vini Bol wrote:
>> 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 a topic in the Google 
> Groups "AngularJS" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/angular/6g8HeHaE0lw/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