Hello anthonyi
Thank you for your great post.
I have same issue. but .. When i try this, it is works bad on my own.
This is my LoginCtrl controller..
$scope.doLogin = function() { };
app.controller('LoginCtrl', function ($scope, $stateParams, $ionicHistory, $timeout, $state, ionicMaterialInk) {
console.log('Doing login', $scope.loginData);// code if using a login system
$ionicHistory.nextViewOptions({
disableAnimate: true,
disableBack: true });
$state.go("app.home");
});
when i click login button. it is redirect to home .. but UI (CSS) is all broken..
When i refresh page, it is looks good.
What i am wrong? Can you help me?
Thanks