top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to detect a back button click in angular js?

+2 votes
444 views
How to detect a back button click in angular js?
posted Jun 11, 2015 by Muskan

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I am developing multi column search in table using angularjs and grails so how to pass all search values from view to controller using ajax calls in angularjs.

+1 vote

I have a group of array in $scope.firstorder. For example:

enter image description here

Based on some condition like array contains an element Quantity. If Qunatity is zero i need to remove this array from the list of arrays.

How can I do that?

 for (index in $scope.firstorder)
    {
        var quantity = $scope.firstorder[index][0].Quantity;
        if (quantity == 0)
        {
            Remove the array element from $scope.firstOrder;
        } 


    }
...