One project angularJs and two layouts (frontend and dashboard) its possible?

39 views
Skip to first unread message

Marcos Filho

unread,
Nov 4, 2015, 8:51:51 PM11/4/15
to AngularJS
Hi, its possible in one project i use two layouts (bootstrap templates) to create my front end and dashboard with two different layout in the same project? or i need create two project one to front end and other to dashboard ?

Vaibhav Gupta

unread,
Nov 5, 2015, 2:13:24 AM11/5/15
to AngularJS
Hi,

I am not sure how your project is designed. In single page applications, it is rare that layouts change at runtime. Hence, you can make dashboard and front end as two separate pages each having its own layout. They can be binded to the same ng-app. In java based web applications, I use sitemesh to apply layouts based on url patterns.

Hope this helps.

Regards,

Vaibhav Gupta

Marcos Filho

unread,
Nov 6, 2015, 9:20:38 AM11/6/15
to ang...@googlegroups.com
Hi Gupta, I use sitemesh in my java projects too, i want to do like a decorator, where my front-end have a layout1 and my dashboard with other layout. I think that angular was projected to single page applications and not accept this solution about layouts, i think that i need create two projects, if you have some solutions I'll thank.
Reply all
Reply to author
Forward
0 new messages