@atkins.chrisw said in Angular JS and JSON files:
Thanks Jared. Would I do this same process to add a way to link new controllers to each page? I have a carousel controller I found to make a carousel window in one of my pages.
Yes you can add controllers this way. I'll post the details in the other thread you started.
@atkins.chrisw said in Angular JS and JSON files:
I am getting the following errors.
GET http://demo.systemvitality.com:8080/js/loaderConfig.js?_=1478807675744 404 (Not Found) jquery.js4
This is the wrong location for loaderConfig.js, that belongs in /resources/loaderConfig.js so I'm not sure why its being referenced at /js/loaderConfig.js
Uncaught Syntax Error : Unexpected Token <
This is a different error to above, where is this occurring?
And the json is showing up on the screen itself. The whole thing. Am I referencing it wrong?
That is correct, I put a pre tag in the example to display the loaded JSON so you could check it was being loaded properly.