I’ve recently worked through the Single Page App example with Breeze.js, which took a bit of doing with the breaking upgrade from Express 3 to Express 4. I’d really like to get jqxAngular working with the MEAN.JS stack; I’m not getting very far yet, so I thought I’d put out a shout to see if anyone else has had any luck.
I’ve set up the Articles example using yo meanjs, added a couple of articles and now I’m trying to replace the articles list list-articles.client.view.html with a modified version of the Breeze code. The problem I’m facing is that I can’t seem to get the jqxwidgets module to load at all.
The steps I’ve taken so far are
- Add the same CSS and javascript references as Breeze to config/env/all.js
- In the same file, add jquery-1.11.1.min.js just after angular.js
- Modify list-articles.client.view.html as per Breeze example
- Add ‘jqwidgets’ to articles.client.controller as
angular.module('articles').controller('ArticlesController', ['$scope', '$stateParams', '$location', 'Authentication', 'Articles', 'jqwidgets',
It’s this last step that seems to break things. If I revert the listing code to the original it doesn’t work until I remove the reference to jqwidgets.
It’s a big ask I know, but if anyone has been going along this path I’d love to hear if they’ve got jqWidgets and MEAN.JS working together.
Jim