2016-01-13 37 views
1

我按照jetBrains上的指令到Installing AngularJS Manually。 1.4.x stable
創建一個文件夾並將其拖動到我的El Capitan基座上的WebStorm圖標。
右鍵單擊該文件夾並創建一個新文件並將其命名爲index.html
添加了ng-app指令以將應用程序引導至html元素。在webStorm項目中解析angular.js

試圖獲取上下文幫助,以幫助解決angular.js文件的鏈接,該文件位於上述步驟2中創建的文件夾的同類文件夾中,但在碰到^ Space兩次後沒有在列表中看到它。

enter image description here

所以,我只是用手

<!doctype html> 
 
<html lang="en" ng-app> 
 
<head> 
 
    <meta charset="UTF-8"> 
 
    <title>Document</title> 
 
    <script src="/../angular.js"></script> 
 
</head> 
 
<body> 
 

 
Name: <input ng-model="username"/>{{username}} 
 

 
</body> 
 
</html>

而Chrome卻正顯示出與它裏面的表達式綁定評估它,而不是鍵入它。

我在做什麼錯?由於

enter image description here

回答