javascript - Best way to implement an angular js site with multiple templates -


i working on web application using mean stack. using 2 types of layouts pages.

layout 1 - full page used content area.

layout 2 - layout 2 has top banner , sidebar. content area in center.

i know best way implement using angular js. new angular js development.

i hope description explains problem well.

do single page application using ui-router injecting template

example1 here...

example2 here...

angular modular template based language, , can build singe page app.

using ui-router can change part of page without changing url or without refreshing.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -