I am new in angular js.
In view i have a list of products, I have to open the detail of the product when i clicked on that. I have to pass 2 parameters to my 'productdetails' controller.
You miss use angular interpolation (double curly brackets), Also try not to have much functionality in the view code, this should be in the controller / dedicated service.
See code example below
<a ng-click="GetLiveStatus(item)">
function LiveStatusController($location) {
$scope.GetLiveStatus = function(item){
// Your code here ...
// nav part
$location.path(<'your path string here'>, {<your path params here>});
}
}
Ionic 1question.Not anIonic 2.