You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I just can't figure out, what is the best practice for not to repeat code of header and footer?
I have a single page app with 4 pages, all have same header and footer and located on separate html files.
routeProvider changes data in data-role="page" element, so I had to put all my header and footer codes to all pages.
Could you please suggest a better way?
The text was updated successfully, but these errors were encountered:
Hi,
the best way would be to create directives for headers and footers. However, this library does not support this. There is a new project called angular-jqm (see the Readme.md for the link) that does allow directives for headers / footers.
Hello,
I just can't figure out, what is the best practice for not to repeat code of header and footer?
I have a single page app with 4 pages, all have same header and footer and located on separate html files.
routeProvider changes data in data-role="page" element, so I had to put all my header and footer codes to all pages.
Could you please suggest a better way?
The text was updated successfully, but these errors were encountered: