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;
}
});