I have something like below on my angularjs app that works with browserify + gulp.
require('angular');
require('angular-resource');
require('angular-xeditable');
require('angular-spinner');
var app = angular.module('itembase', [
require('angular-ui-router'),
'ngResource',
'xeditable',
'angularSpinner'
]);
My question is on how to integrate underscore library into this environment.
I tried a few ways like, putting require('underscore'); above var _ = require('underscore');, but it just doesn't seem to work.
The files are in the code but really visible in angularjs app.