Re: [問題] ng-repeat
http://plnkr.co/edit/r4PfQ0dIUj9r3xvxjaZR?p=preview
我改好了,請按照他的標準寫法做,ng-app一定要擺在<html>或者<body>裡
盡量不要跟controller擺在一起。
用了ui-bootstrap.js,就不要用bootstrap.js,可能會相沖。
自定義的js code請擺在最後,這樣load會快一點。
另外建議改用https://github.com/mcasimir/mobile-angular-ui
不然你之後要做RWD會碰到很多問題。
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.163.30.31
※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1449819283.A.697.html
推
12/11 16:05, , 1F
12/11 16:05, 1F
→
12/11 16:06, , 2F
12/11 16:06, 2F
推
12/12 10:52, , 3F
12/12 10:52, 3F
→
12/12 10:52, , 4F
12/12 10:52, 4F
Web_Design 近期熱門文章
PTT數位生活區 即時熱門文章