AngularJS and the Declarative / Imperative Impedance Mismatch

A session at BarcelonaJS Meetup - April 2014

AngularJS uses its HTML directives at the core of its UI generation. That means that you specify how to generate the HTML using HTML. Part of that logic has been moved to the controller functions, but part of it cannot be moved. The result is imperative constructs like ng-if and ng-repeat inside the declarative HTML template. The mismatch between an imperative problem and a declarative tool ends up in a messy solution in the long run. JSP tried the same thing with custom tag libraries, and failed. XSL tried the same thing, and failed too. This talk will get into deeper detail about why I believe that the HTML directives - one of the core elements that AngularJS is praised for - is not such a great solution for UI generation.

About the speaker

This person is speaking at this event.
Jakob Jenkov

Software Developer & Internet Entrepreneur in Copenhagen, Denmark bio from Twitter

Sign in to add slides, notes or videos to this session

Tell your friends!


Date Tue 29th April 2014

Short URL


Official event site


View the schedule


See something wrong?

Report an issue with this session