Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Ionic animation between two not nested pages

$
0
0

Hi, I spent lot of time on this but I don't know how to figure it out :frowning:

my app looks like this:

    .state('tab', {
            url: "/tab",
            abstract: true,
            templateUrl: "menu.html"
        })

        .state('tab.tab1', {
            url: '/tab1',
            views: {
                'tab-tab1': {
                    templateUrl: 'tab1.html',
                    controller: 'Tab1Ctrl'
                }
            }
        })
        .state('tab.tab2', {
            url: '/tab2',
            views: {
                'tab-tab2': {
                    templateUrl: 'tab2.html',
                    controller: 'Tab2Ctrl'
                }
            }
        })


        //ANOTHER TAB MENU
        .state('anothertab', {
            url: "/anothertab",
            abstract: true,
            templateUrl: "anotherMenu.html"
        })

        //online
        .state('anothertab.anotherTab1', {
            url: '/anotherTab1',
            views: {
                'anothertab-anothertab1': {
                    templateUrl: 'anotherTab1.html',
                    controller: 'anotherTab1Ctrl'
                }
            }
        })

And on page /tab2 I have ui-sref="anothertab.anotherTab1" And I would like to put animation between these two menus like when is animation between nested pages. But I tried everything but nothing is working for me. Please HELP.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>