在經歷過了 AngularJS browser autofill workaround by using a directive 之後過了幾週,有一天我嘗試對著 login 用的表單亂來(?),發現上的 workaround 其實只能針對在頁面一載入時的自動填入,如果是先清除它,在經過人為的操作之後的自動填入,還是都抓…
AngularJS browser autofill workaround by using a directive
December 18, 2013http://stackoverflow.com/questions/14965968/angularjs browser autofill workaround by using a directive Apparently this is a known issue with Angular and is curr…
tip: directives with the same name - Angular Tips
September 19, 2013http://angular tips.com/blog/2013/08/tip directives with the same name/ By doing this we can write directives that we need to run when other directive appears.…
Programmatical form submission
September 07, 2013AngularJS 做為一個以建立 Single Page App 為目標的 framework,當然是不希望你在 web app 中碰到需要與後端做資料溝通時會需要 refresh 整個網頁,因此它提供了完整的 HTML <form> 解決方案,諸如: 透過 form directive 攔截預設的 fo…