2016-11-07 5 views
-1

먼저, 내가 본 웹 사이트에 튜토리얼을 따라하기 위해 노력하고있어 : 내가 서버를 실행하고 http://localhost:8445/ 갈 수 http://thewebhacker.com/rapid-app-prototyping-with-angularjs-and-couchdb/튜토리얼을 각 애플 리케이션을 제대로 실행하게하려면 어떻게해야합니까? 내가 일반적으로 각도 및 자바 스크립트에 새로 온 사람 모두의

, 그러나 이것은 단지 빈을 보여줍니다 페이지. 내가 http://localhost:8445/views/beer.html로 찾아 볼 때 CSS/각도가 사용되지 않고 일부 페이지 내용을 볼 수 있습니다.

방금 ​​시작부터 끝까지 튜토리얼을 따랐습니다. 나는 래퍼 html을 어디에 둘 것인지 확실하지 않았습니다. 그래서 juse가 index.html에 썼습니다.

저는 지금이 문제에 대해 매우 분실되어 있으며 계속하는 법을 찾을 수 없습니다. 귀하의 의견

답변

-1

주요 index.html 파일에 대한

TNX는 헤더 섹션에서 닫히지 않은 태그 많이 있습니다.

<head> 
    <title>Beer Ratings 'n Stuff</title> 
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> 
    <script src="node_modules/angular/angular.min.js" type="text/javascript" charset="utf-8"></script> 
    <script src="node_modules/angular-bootstrap/dist/ui-bootstrap.min.js" type="text/javascript" charset="utf-8"></script> 
    <script src="node_modules/angular-bootstrap/dist/ui-bootstrap-tpls.min.js" type="text/javascript" charset="utf-8"></script> 
    <script src="node_modules/angular-route/angular-route.min.js" type="text/javascript" charset="utf-8"></script> 
    <script src="node_modules/angular-resource/angular-resource.min.js" type="text/javascript" charset="utf-8"></script> 
    <script src="js/app.angular.js" type="text/javascript" charset="utf-8"></script> 
</head> 
+0

와우 이런 일이, 내가 저자가 제공하는 파일에 일부 HTML 태그에서 봐 것이라고 생각하지 : 다음은 <head>이 같이하도록되어거야. 많이 tnx –