[AngularJS] Sane, scalable Angular apps are tricky, but not impossible.

Read fromhttps://medium.com/@bluepnume/sane-scalable-angular-apps-are-tricky-but-not-impossible-lessons-learned-from-paypal-checkout-c5320558d4ef

  • ng-Controller is bad, use directive instead.
  • Don't specfiy controller in Route, use directive in template.
  • Alwasy use an isolated scope
  • Use factory only, forget about service and providor
  • $expectionHandler
  • use angular-ui-router
  • Aviod lazy loading ? ? ?
上一篇:c#的Boolean.Parse用法


下一篇:Linux如何解决动态库的版本控制