Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.
This repository was 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

@0x-r4bbit

Description

@0x-r4bbit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions