Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Migrate to Angular 1.3 and take advantage of it's new features #15

Open
11 tasks
0x-r4bbit opened this issue Jan 3, 2015 · 0 comments
Open
11 tasks

Migrate to Angular 1.3 and take advantage of it's new features #15

0x-r4bbit opened this issue Jan 3, 2015 · 0 comments

Comments

@0x-r4bbit
Copy link
Contributor

This mainly includes:

  • Replace bind-once with one-time bindings
  • Make use of ngModelOptions in search module (debouncing etc.)
  • Remove sofa-lazy-validation directive and rebuild all forms using ngModelOptions
  • Make custom filters stateful if needed
  • Apply ES6 Style Promise syntax to make code cleaner (rather a nice to have)
  • Disabling Debug Info in production app to get a performance boost for free
  • Use controllerAs syntax whenever possible (Since this is considered a best practice. This has been introduced in 1.2 already)
  • Bind to Directive Controllers in directives with isolated scope and get rid off linkFn where possible. This goes hand in hand with controllerAs.
  • Make use of ngMessages directive for checkout and other forms
  • Integrate features of newly introduced validation process
  • Add ngStrictDI directive to application to be really sure we're on a safe side

I gonna update this issue over time with more things once I explored them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant