Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6945 Admin UI: apply findings of Code Style review
  3. AEROGEAR-6972

Admin UI: replace use of jQuery with adequeate Angular alternatives

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • None

      It's considered a bad practice to use jQuery inside controllers.
      You use only two $ functions: $.extend and $.ajax, which can be replaced
      with angular.extend/angular.copy and the $resource service. If you can't
      find a way how to do something without jQuery inside controller, maybe
      creating of custom directive is the right solution, but this doesn't
      seem to be the case.
      

            lfryc Lukáš Fryč (Inactive)
            lfryc Lukáš Fryč (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: