Hi I am looking for help with a hybrid web app 
The format is on a php dynamic template 
I have coded in a Angular splash screen that works well but when I open a 
linked page on return it refreshes and the splash screen rerenders.
This is the code I am using right now, is there an alternative so the page 
does not refresh on return.


the two links below work from ng-click

                    var _gaq = _gaq || [];
                    var app = angular.module('landingApp', []);
                    app.config(function($locationProvider) {
                        // use the HTML5 History API
                        $locationProvider.html5Mode(true);
                    });

                    app.controller('landingController', function($scope, 
$window) {

                        $scope.goto_viewdetail = function(item) {
                            $window.location = 
'/viewdetail.php?qrcode='+item;
                        };
                        $scope.goto_sendemail = function(item) {
                            $window.location = 
'/sendemail.php?qrcode='+item;
                        }
                    });
                

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to