I have this factory and I have the error in the title. How can I fix this?
(function (angular,namespace) {
var marketplace = namespace.require('private.marketplace');
angular.factory('blueStripeViewModelFactory', [
'$http', function blueStripeViewModelFactory($http) {
return new BlueStripeViewModel("id", 10);
}
]);
marketplace.blueStripeViewModelFactory = blueStripeViewModelFactory;
})(window.angular,window.namespace);
moduleand then create factory inside that module.angular.module(...).factory