0
我对ng-include有问题。 在我Layout.ejs我去HTML NG-应用 这是我的代码: homepage.ejs:Ng-include在Sails中无效Js
<div class="slide">
<div class="container" ng-controller="slide">
<h1 class ="main-title"> equipo mate </h1>
<ng-include src ="'partial.html"></ng-include>
</div>
</div>
angular.js:
angular.module('app',[])
.controller('slide', function($scope){
});
和partial.html,具有“ Hello World”的
这是错误:angular.js:12410GET http://localhost:1337/partial.html 404(未找到)
有人可以帮助米è?
谢谢!它工作完美! –