简体   繁体   中英

Angular.js: angular-ui/ui-router - not work Appended Routes

I did as shown in the documentation https://github.com/angular-ui/ui-router#nested-states--views - here is my code vieschs http://plnkr.co/edit/0DypwIajU7fOPvQGR5fg here it works.

But when I use it in my project template child is not called . Call always occurs only parent.

How can I find the problem?

My question is similar to this: angular-ui/ui-router with Steroids

Clone this issue github /angular-ui/ui-router/issues/1172

it may be due to the use of construction?

ng.element(document)
    .ready(function () {
        var root = ng.element(document.querySelector('#' + name));
        ng.bootstrap(root, [name]);
        console.timeEnd('application loading');
    });

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM