ruby on rails 3 - Make the template folder if angular be functional as views folder -
i'm trying use erb template on angular templates folder, functionality limited, example, <% link_to working devise methods or raw('sdmdslkc') pops error method not found.
for example <%= link_to('logout', destroy_user_session_path, :method => :delete) %> work on views not in angular templates (says destroy_user_session_path method not found)
whats missing ? fixable?
let me see if understand, u have template tags belongs language not angular, html, or js. if not fixable because angular sends ajax bring html file , injects page, alot after server has rendered part of page.
my suggestion work around try , tell angular take server page, asp.net , server tags tell angular template somepage.aspx while making sure page evetually returns plain html.
Comments
Post a Comment