What is the core difference between AngularJS compilation and JavaScript frameworks?

Most of the Javascript frameworks parse the HTML template as a stream and return the result as a string. The resulting string gets dumped into the DOM and can be retrieved using innerHTML(). AngularJS works directly on HTML DOM rather than strings. It uses two-way data binding to sync the data.

Suggest An Answer

No suggestions avaliable!

Latest post from Angularjs Interview Questions

Ask Question