hello guys i am making an ionic app in which i have show some data from one page to another page with the help of asp.net web api but its not working while i am using php web api then it's working.....here is the controller code...
.controller('AppCtrl', function ($scope, $http, $ionicPopup, $state) {
$scope.data = {};
$scope.submit = function (form) {
var link = 'http://ift.tt/1UFnsRr';
$http.post(link, { username: $scope.data.username }).then(function (res) {
$scope.response = res.data;
})
// console.log($stateParams);
$state.go('tab.employee-index');
}
})
can anyone help me that how can we send data from one page to another page using asp.net web api that will be great help because i am new to this one so i am getting problem...thank you
Aucun commentaire:
Enregistrer un commentaire