Created
March 16, 2016 07:44
-
-
Save blacktambourine/5521d910819d9fffdc4a to your computer and use it in GitHub Desktop.
Parameter Mapping in Angular//
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scope.callWebApiService(SearchService, | |
{ | |
Keywords: searchData.keywords, | |
CategoryPaths: searchData.categoryPaths, | |
SubCategoryPaths: searchData.subCategoryPaths, | |
Types: searchData.types, | |
CurrentPage: $scope.pager.currentPage, | |
DateFrom: $scope.dateFrom, | |
DateTo: $scope.dateTo | |
}) | |
.then(function (result){ | |
//do something | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment