0

I'm trying to get setup with some boilerplate code I found on Github. This should be pretty generic, but using the browserify/import model, how do I get angular to use the full jquery? I've tried doing something like this:

import $ from 'jquery';
window.$ = $;

import jQuery from 'jquery';
window.jQuery = jQuery;

import 'jquery-ui';
import angular from 'angular';
import moment from 'moment';

// import requires
...

window.app = angular.module('app', requires);

angular.module('app').constant('AppSettings', constants);

angular.module('app').config(onConfig);
... other stuff

But it still ends up with jqLite.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.