My presentation on AngularJS Warsaw #3 meetup on use of TypeScript/ES7 decorators as annotations in AngularJS apps.
Controller, scope, model and view – all those give us possibility to create chaotic mess. But it also gives us possibility to create beautiful and minimalistic harmony!
AngularJS compilation sequence becomes quite complicated when view is built with use of many transcluding directives. To understand this complexity I have made little research and here is the output.
For some time I was wondering what’s that
$transcludeFn passed as last argument to AngularJS directive linking function. The documentation did not allow me to fully understand it. So I’ve taken a deep dive into implementation of
ng-repeat directives (ng module built-in functionality). And it seems to be as simple as shooting one right down.
Transclude they said. But what the f**k does it mean? Is this a real word or just fancy neologism?
One of AngularJS core features is the possibility to teach the browser new HTML syntax. Its built-in HTML compiler allows developer to define new behavior for any HTML elements or their attributes. Creators have called these behavior extensions directives. To make better use of directives API and give them super powers we need to get an in-depth understanding of the compilation mechanism.
Ever had to perform a task in the browser that’s so large it freezes it? There’s a way around it, so join me in learning how to keep the UI responsive and make the user experience pleasant even when there’s some heavy lifting happening in the back…