Name:
{{cust.name}} - {{cust.city}}
function Simple($scope){
$scope.customers = [
{ name : 'paul', city : 'mumbai' },
{ name : 'kicha', city : 'africa' },
{ name : 'ram', city : 'nigeria' }
];
}
Error:
angular.min.js:495 Error: [ng:areq] http://errors.angularjs.org/1.5.8/ng/areq?p0=Simple&p1=not%20a%20function%2C%20got%20undefined
at Error (native)
at http://localhost:5540/Scripts/angular.min.js:7:499
at sb (http://localhost:5540/Scripts/angular.min.js:70:27)
at Pa (http://localhost:5540/Scripts/angular.min.js:70:136)
at http://localhost:5540/Scripts/angular.min.js:365:237
at ag (http://localhost:5540/Scripts/angular.min.js:283:239)
at p (http://localhost:5540/Scripts/angular.min.js:263:274)
at g (http://localhost:5540/Scripts/angular.min.js:233:403)
at g (http://localhost:5540/Scripts/angular.min.js:233:428)
at g (http://localhost:5540/Scripts/angular.min.js:233:428)(anonymous function) @ angular.min.js:495
Rajeev PunhaniPosted Aug 3, 2016, 7:49 AM
Hi Karthi,
Please check the below solution.
If the above solution is helpful then,accept the answer.
Bikesh SrivastavaPosted Aug 8, 2016, 6:44 AM
Rajeesh MenothPosted Aug 3, 2016, 8:31 AM
Vinay SinghPosted Aug 3, 2016, 8:14 AM
Midhun TpPosted Aug 3, 2016, 7:44 AM
Vinay SinghPosted Aug 3, 2016, 7:27 AM