app.controller('errorCtrl', function ($scope, $http) { $scope.email="asd"; });