jQWidgets Forums

jQuery UI Widgets Forums Plugins AngularJS Circular dependancy error

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Circular dependancy error #64989

    Freak
    Participant

    Hello team,

    I am getting circular dependancy error for jqxComboBoxDirective and jqxDropDownListDirective. Here is my module js code which is top level application module.

    `use strict’;
    var module = angular.module(“View”, [‘jqwidgets’, ‘Titles’]);

    Below is the code for Titles module

    ‘use strict’;

    var module = angular.module(“Titles”, [])
    .config([‘$routeProvider’, function ($routeProvider) {
    $routeProvider.
    when(‘/titlepartials/import’, { templateUrl: ‘/partials/titlepartials/import.htm’ });
    }]);

    What is the solution for this?

    Thanks,
    Freak

    Circular dependancy error #65007

    Peter Stoev
    Keymaster

    Hi Freak,

    Such thing is not caused by our code so we are not aware how you can fix this. May be your module should have dependency on ngRoute, too.

            var module = angular.module("Titles", ["ngRoute"])
    .config(['$routeProvider', function ($routeProvider) {
    
    }]);
    

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.