2015-03-25 57 views
0

我有非常挺直向前角碼,在下面的代碼NG-顯示指令不工作角指令NG出現不工作


          
  
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script> 
 
    "<div id="temperature" ng-show='false'> &#x2103;</div>"
<div id="temperature" ng-show='false'>{{temperature}} &#x2103;</div>

這裏NG-節目是沒有做任何工作

+0

你可以創建一個jsfiddle的代碼嗎? – 2015-03-25 11:03:08

+0

如果你想一直隱藏它,使用'class ='ng-hide'而不是'ng-show = false' – 2015-03-25 11:04:43

+0

ng-show表達式不是字面意思 – Chandermani 2015-03-25 11:07:04

回答

0

它得到解決了,Angular src本身存在一些問題,將其更改爲CDN解決了我的問題