Sign in

Angularjs routing controller not found

Nikhil edited in Thu, 02 Jun 2022

Angularjs routing controller cannot find the prompt argument 'logouploadcontroller' is not a function, got undefined

.state('logoUpload', {

        url: "/logoUpload",
        templateUrl: "views/logoUpload.html",
        data: {pageTitle: '微标'},

        controller: "LogoUploadController",

        resolve: {
            deps: ['$ocLazyLoad', function ($ocLazyLoad) {
                return $ocLazyLoad.load([{
                    name: 'MetronicApp',
                    file: [
                    serie: true,
                    cache: true


1 Replies
commented on Thu, 02 Jun 2022

Found the problem, misspelled files...

lock This question has been locked and the reply function has been disabled.