'use strict';

(function() {

angular.requires('//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', function() {
    return typeof window.$ !== 'undefined';
});

var mod = angular.module('subdir.my_mod', []);

mod.factory('Factory', function() {
    return {
        value: 'Hello World!',
        isJQueryLoaded: (typeof $ == 'function')
    };
});

})();
'use strict';

(function() {

angular.requires('//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js', '$');

var mod = angular.module('subdir.my_mod', []);

mod.factory('Factory', function() {
    return {
        value: 'Hello World!',
        isJQueryLoaded: (typeof $ == 'function')
    };
});

})();
Use a string to represent the name of a variable to check.
Use a string to represent the name of a variable to check.
