Question:

Where should we implement the DOM manipulation in AngularJS?

Answer:

In the directives. DOM Manipulations should not exist in controllers, services or anywhere else but in directives.

Here is a detailed explanation


Keywords:

© 2017 QuizBucket.org