Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-240

Refactor first Accounts controllers (was: Replace $scope with "this")

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha6
    • None
    • _am_uncertain
    • None

      Refactor the first controllers produced for Accounts with the appropriate TypeScript notations and current AngularJS practices. The newer controllers already use this, so, they can be used as basis.

      was:

      As per mithomps1@redhat.com's comment on https://github.com/hawkular/hawkular/pull/115#discussion_r30824664 , the controllers should refer to the $scope via "this".

      More info: http://toddmotto.com/digging-into-angulars-controller-as-syntax/

              jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
              jpkroehling@redhat.com Juraci Paixão Kröhling (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: