I am creating a SPA using Angular 1.
for switching templates during CRUD operations, I'm already using ng-view
in particular div.
Now I'm confused what should I use to switch template inside <body>
with login, register and portal template. One options is ng-include
.
Please share a better approach if you have.
Used nested and multiple views using ui-router
, worked like charm.