top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How AngularJS compilation is different from other JavaScript frameworks?

0 votes
355 views
How AngularJS compilation is different from other JavaScript frameworks?
posted Oct 16, 2017 by Sathaybama

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

If you have worked on templates in other java script framework/library like backbone and jQuery, they
process the template as a string and result as a string. You have to dumped this result string into the DOM where
you wanted it with innerHTML()
AngularJS process the template in another way. It directly works on HTML DOM rather than strings and
manipulates it as required. It uses two way data-binding between model and view to sync your data.

answer Oct 16, 2017 by Shivaranjini
...