發表文章

目前顯示的是有「angularjs」標籤的文章

避免初始化頁面時暫時性會顯示dom物件或出現 {{...}}

使用 $timeout 注意

設定div 填滿可用空間,內容不足則出現捲軸

格式化為金額字串且去除結尾多餘小數

於 controller 外取得 scope 物件

統一編號驗證

ng-options 對應 ng-model 為物件時正確顯示預設值

ng-options 搭配 ng-model 注意

Cannot read property '$$nextSibling' of null

ng-style inline 寫法

自訂驗證規則

輸入欄位不要自動跳出建議

利用 directive 動態設定 style

在 local 產生檔案

關閉 modal 造成 console 出現 error : Possibly unhandled rejection: undefined

javascript confirm 美化版 for angularjs

透過 directive 控制對齊方式

透過 angularjs 複製物件

透過 $http.post 傳遞參數到 server 出現訊息 : JSON 要求太長,無法還原序列化

自訂錯誤驗證