flowjs / ng-flow

Flow.js html5 file upload extension on angular.js framework
http://flowjs.github.io/ng-flow/
MIT License
1.38k stars 303 forks source link

ng-flow: Flow is not defined #331

Open hunty opened 7 years ago

hunty commented 7 years ago

Hi! I'm using Angular.js 1.4.9. All libs are processing by gulp. I inslalled ng-flow and started gulp tasks. Everything is ok. But when I'm trying to use ng-flow directives, they don't work, beacuse of error:

vendor.min.js?v=1496058689:6 ReferenceError: Flow is not defined at factory (vendor.min.js?v=1496058689:28) at Object.create (vendor.min.js?v=1496058689:28) at new (vendor.min.js?v=1496058689:28) at Object.r [as invoke] (vendor.min.js?v=1496058689:5) at u.instance (vendor.min.js?v=1496058689:5)

My config:

 angular
        .module('app', [
            'flow',
            'ui.select',
            'ngAnimate',
            'ngRoute',
            'ngSanitize',
            'ngResource',
            'ui.bootstrap',
            'angular-loading-bar',
            'oi.file',
            'app.controllers',
            'app.directives',
            'roleAuth',
            'LocalStorageModule',
            'PaginationModule',
            'colorpicker.module',
            'ui.bootstrap.datetimepicker',
            'highcharts-ng',
            'ngCookies',
            'pascalprecht.translate',
            'tmh.dynamicLocale',
        ])

I'm using ng-flow-standalone.js version. Thanx.

philwronski commented 7 years ago

Hi! Same error for me.

bhushangahire commented 4 years ago

Anyone found a solution on this?