Mangesh G

Mangesh G

  • NA
  • 10.3k
  • 1m

Cant read property for controller

Dec 6 2016 9:39 AM
Hi everyone ,
 
I Am getting "Uncaught TypeError: Cannot read property 'controller' of undefined"
this error when i am trying to run the angular code 
 
My controller is
app.controller('CricketerController',['$scope', '$uibModal', 'CricketerService','$window',function ($scope, $uibModal, CricketerService, $window) {}
 
 

Answers (3)