Hi Jared. Is there a way I can break out the controllers I have added into the app.js file into seperate files? My app.js is getting huge. I have tried making seperate folders like you have done for the page-view. But I keep getting stuck on the require element. My hope is to just have a separate folder for a group of controllers that I can link to certain pages. This is probably basic things I have no idea what I am doing.
I am a principal owner of Summa Energy Solutions, a meter design and commissioning firm.
Best posts made by atkins.chrisw
Latest posts made by atkins.chrisw
shortening up app.js
Numeric Defualt Questions
So I have noticed that when I change the numeric deault template to something different. Say, using the #,###. format. It makes the displayted values have a comma, but now the charts in the angular framework all get multiplied by .001. Is there something I have done wrong?
RE: user error
What happens if I delete the jsp directory?
I have already tried clearing my browser cache. I typically use Chrome but I am seeing the same problem in Firefox and IE.
Also, if I remove the overrides folder. Do I just cut it out and restart. Then restart the Mango instance? Then see if it works. Then re-paste the overrides folder?
RE: user error
Failed to load resource: the server responded with a status of 403 (Forbidden)
jquery-1.11.2.min.js:4 POST http://demo.systemvitality.com:8080/rest/v1/users 403 (Forbidden)
send @ jquery-1.11.2.min.js:4
ajax @ jquery-1.11.2.min.js:4
MangoAPI.ajax @ api.js:941
MangoAPI.postUser @ api.js:101
UsersView.saveUser @ UsersView.js:223
dispatch @ jquery-1.11.2.min.js:3
r.handle @ jquery-1.11.2.min.js:3
HTTP/1.1 403 Forbidden
Date: Wed, 04 Jan 2017 19:38:59 GMT
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
POST /rest/v1/users HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Accept-Encoding: gzip, deflate
Cookie: XSRF-TOKEN=a994ed2e-1731-4e00-bff6-10603736516f; MANGO8080=hrhzw8elv6oj15imw0139okrk
In the Cookies tab. under the Request Cookies
MANGO and the XSRF-TOKEN both have a value
in the response cookies it is blank
Yeah. I don't want to do that. I am just trying to make an environment where I can try new things without disturbing our customers.
For some reason lately, when I log in. I get a Error 403 Forbidden
HTTP ERROR 403
Problem accessing /modules/dashboards/web/. Reason:
I am wondering if I referenced something wrong in my app.js.
Also, I am still getting a user error. I can't add or edit my users now.
So I have moved everything from the MyAdminApp to the mdAdminApp
Can I make a second instance of the mdAdminApp so I can load it on a different URL.
summaes.com = mdAdminApp instance 1
summaes.com/beta = mdAdminApp instance2
will this affect the user login functions.