3
Reply

Cant read property for controller

Mangesh Gaherwar

Mangesh Gaherwar

Dec 6 2016 9:39 AM
366
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)