angular.js - Can variables be placed in the ng-include path in angularJS? Why can't I write well? Please help take a look!
ringa_lee
ringa_lee 2017-05-15 17:10:19
0
1
479
下面是代码:

<p ng-repeat="cc in plugList">
            <p ng-include="'{{cc.url}}'"></p>
        </p>

The following is the error message:
GET http://localhost/wecaff/wei02... 404 (Not Found)

Question: Why can’t I get the path?

ringa_lee
ringa_lee

ringa_lee

reply all(1)
左手右手慢动作

Try it

<p ng-include="cc.url"></p>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template