AngularJS与Webstorm建立(AngularJS set up with Webstorm)
我开始使用Angularjs并在第一个障碍下跌:-(
我安装了node(windows安装程序)和webstorm ide。 在webstorm我已经安装了angularjs插件,并在html中输入'ng'提示下拉列表中的所有ng模板,所以这看起来不错。
在演示html5中剪切和粘贴(在http://angularjs.org/的 “The Basics”标题下)并在webstorm中运行并导航到文件url(在firefox或chrome中)但是角度声明'{{yourName}根本没有约束力 - 它被渲染为文字。 谁知道我哪里出错了?
I'm getting started with Angularjs and fallen at the first hurdle :-(
i've installed node (windows installer) and the webstorm ide. in webstorm i've installed the angularjs plugin and in the html typing 'ng' prompts all the ng templates in a dropdown, so this look ok.
cutting and pasting in the demo html5 (under the heading 'The Basics' at http://angularjs.org/) and running in webstorm and navigating to the file url (in firefox or chrome) however the angular statement '{{yourName}}' isn't binding at all - it's rendered out as a literal. Anyone know where i'm going wrong ?
原文:https://stackoverflow.com/questions/12805891