ui bootstrap modal和ui-view ui-router

时间:2015-06-27 16:34:24

标签: html angularjs angular-ui-bootstrap

ui-view内容未在ui bootstrap模式中加载。 这里我的状态来自ui-router配置:

.state('home.connexion', {
            url: '/connexion',
            views: {
                "maincontent@home": {
                    templateUrl: 'app/connexion/connexion.html'
                },
                "connectionModal@home.connexion": {
                    templateUrl: 'app/connexion/modal.html'
                },
                "registerTypeModal@home.connexion": {
                    templateUrl: 'app/register/modTypeRegister.html'
                },
                "registerModal@home.connexion": {
                    templateUrl: 'app/register/modRegister.html'
                },
                "cguStatement@home.connexion": {
                    templateUrl: 'app/cgu/statement.html'
                }
            }
        })

我的嵌套视图:

<div ui-view="cguStatement" autoscroll="false"></div> 

当我把它放在page =&gt;行

当我把它放在modal =&gt;内KO

我需要帮助:))

0 个答案:

没有答案