View Full Version : Adding views to app.js

20 Aug 2012, 11:06 AM

I have a very basic problem, but I cannot seem to solve it!
When I add a view to the views array in app.js the app is stuck on the loading screen.

this runs fine:

views: ['Main'],

this does not run:

views: ['Main','Test'],

I do have a valid view named test and there are no errors in it as far as I am aware.
Also if I add a super simple controller like this:

controllers: ['Main'],
the app will also get stuck.

I am going insane here. Please help me out!

22 Aug 2012, 5:48 AM
You are sure the views and controller's file names and class names match 100%?