mardi 7 novembre 2017

Should I use ng-app directive in every page for a non single page application?

I am developing a web application for a game using MVC but the views are different (there is a CreateGameView.html, a GameView.html ...) meaning there is not a shared navigation bar. I am using AngularJS.

When clicking some buttons in a page some Controller perform some action and then another View (html page) is loaded.

The question is should I use the ng-app directive in each html page using a Controller?




Aucun commentaire:

Enregistrer un commentaire