E
E
elmander2014-03-26 11:55:40
JavaScript
elmander, 2014-03-26 11:55:40

What can AngularJS do?

I started to study this framework, and after a while a logical question arose. What, in fact, should / can be done in Angular? After all, manipulating the DOM in js is strictly discouraged.
As I understand it, it is designed for single-page web applications? And what to do, for example, with such trivial things as drop-down lists, menus, and other "whistles" of the web? Is it really necessary to completely hand everything over to Angular?
Maybe it makes sense to do some things that are not directly related to the application logic using other technologies? For example with jQuery. How bad is that?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TekVanDo, 2014-03-26
@elmander

Read the documentation, for all sorts of "whistles" there are directives in which jquery lite is used to manipulate the house, see examples here www.directiv.es

L
lega, 2014-03-26
@lega

Any work with the DOM is wrapped in directives, so (in theory) any jQuery plugin can be wrapped in a directive, in case there is no ready-made directive. It is not recommended to work with jQuery directly .
Take a look at Angular Light too , you might like it better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question