jQWidgets Forums

jQuery UI Widgets Forums General Discussions Plugins AngularJS Anyone got jqxAngular working with MEAN.JS?

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  jaffamcneill 10 years, 7 months ago.

Viewing 1 post (of 1 total)
  • Author
  • Anyone got jqxAngular working with MEAN.JS? #64828

    jaffamcneill
    Participant

    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

    1. Add the same CSS and javascript references as Breeze to config/env/all.js
    2. In the same file, add jquery-1.11.1.min.js just after angular.js
    3. Modify list-articles.client.view.html as per Breeze example
    4. 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

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.