nono

Pymaster

Blog Navigation

  • Home
  • Archives
  • RSS
  • About

tip: directives with the same name - Angular Tips

http://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. So if we need to do something in every <input> we only need to write another input directive… etc.

Angular will run both.

September 19, 2013
  • AngularJS
  • directive
  • link
← 用 ngQueue 來完成需要排隊的非同步工作 git-source →

© 2026 pc035860.
Theme Frankies by Zhusee. Customized by pc035860.