i have written a simple controller to filter an array but this is giving error. By removing "data-ng-controller" or without controller its working fine. i am not getting where is the error.Please find the code in the url-
function SimpleController($scope){
$scope.names=[
{name:'abc',address:'xyz'},
{name:'abcxyz',address:'xxyyzz'},
{name:'abcmno',address:'mnoap'},
{name:'aabbcc',address:'ppqqrrr'}
];
}