I am creating an web app in AngularJS. The purpose of the app is just a large information based app.
So within the app there are a lot of pages (40+).
Is it possible to create a JSON array of all pages and use that in the routing.
Instead of writing by hand each time:
.when('/standards', {
templateUrl: 'pages/02_core_standards/index.html'
})
Or is there an even more efficient way?
Many thanks.