AngularJS error: 'argument 'FirstCtrl' is not a function, got undefined'

前端 未结 16 1232
时光取名叫无心
时光取名叫无心 2020-12-01 05:55

I noticed the same question was asked a few times here, I tried so solve it but nothing helps.

I\'m following this tutorial with the egghead videos.

But whe

16条回答
  •  猫巷女王i
    2020-12-01 06:24

    I am not sure about this tutorial but I had the same problem when I forgot to include the file into grunt/gulp minimization process.

    grunt.initConfig({
      uglify: {
        my_target: {
          files: {
            'dest/output.min.js': ['src/input1.js', 'src/missing_controller.js']
          }
        }
      }
    });
    

    Hope that helps.

提交回复
热议问题