Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
505
Using jQuery ig.Loader with igniteui-angular igDatePicker controls
posted

Hello,

I was just wondering if someone could show me how to use the igniteui-angular controls with the igLoader?

even though the same files gets loaded, the controls do not initialize...

In my shell page I have  my igLoader

$(function () {

var region = window.navigator.userLanguage || window.navigator.language;

Globalize.culture(region);

$.ig.loader({
scriptPath: "/Infragistics/js/",
cssPath: '/Infragistics/css/',
resources: 'igHierarchicalGrid.*,igEditors,igDialog,igCombo,igDataChart.*',
autoDetectLocale: true,
ready: function () { setupIgniteControls(); }
});

})

I also have my  igniteui-angular script reference

<script src="Scripts/igniteui-angular.js"></script>


None of the controls are actually on this page and no matter the order of the scripts the ingiteui-angular controls won't load. 

IgLoader loads these files:

<script src="Infragistics/js/infragistics.core.js"></script>
<script src="Infragistics/js/infragistics.lob.js"></script>
<script src="Infragistics/js/infragistics.dv.js"></script>

which is also what the igniteui-angular controls need (if i have these scripts referenced in my shell page the ignite controls load but messes up my jquery and local stuff with the igLoader). I am using the loader to take care of setting up my locales. Can someone show met how I can use the igLoader with an igniteui-angular datepicker?

(also I am using a mix of the jquery controls and the igniteui-angular controls so I need to be able to get both to load.)
 

 Thanks,

Julie