.controller('estateCtrl', function ($scope,reqFac,$state) {
reqFac.post('c=seller&a=showEstate',$scope.estate, function (res) {
$scope.estate = res;
if(res['st']=='error'){
$state.go('login');
}
});
})