André Werlang
Member since Jan 16, 2015
- Profile: /members/12503-andr-werlang.htm
- URL: http://blog.werlangtecnologia.com.br/
- Comments: 4
Recent Blog Comments By André Werlang
-
Protecting Context-Dependent Promise Callbacks In AngularJS
Posted on Sep 3, 2015 at 11:13 PM
I agree that is valid concern. Recently I run into something like this with a custom component that was linked after its parent could be already gone. As there was an HTTP request involved, is more or less the same thing. On the other hand a more general pattern is needed. What if I have a more co... read more »
-
Directive Controllers Cannot Use The Revealing Module Pattern In AngularJS
Posted on May 12, 2015 at 10:52 AM
I didn't got my hands at Angular 2 to see how things are going, but now, while I believe in the value proposition of TypeScript, I think it misses a few oportunities like taking advantages of closures. I really like the ability to consume .d.ts and native (global members in .ts) declarations though,... read more »
-
Directive Controllers Cannot Use The Revealing Module Pattern In AngularJS
Posted on Apr 25, 2015 at 5:22 PM
Nice article. As I use TypeScript, I always wondered if I could use closures together with typing provided by classes, without recurring to class expressions. As of v1.4.0-beta.3, this thing is fixed. See: https://github.com/angular/angular.js/commit/62d514b06937cc7dd86e973ea11165c88343b42d... read more »
-
ngSwitchWhen Priority Is Higher Than ngRepeat Priority In AngularJS 1.3
Posted on Jan 16, 2015 at 9:20 AM
I've compiled a list of angular directives according to their priorities. Also, I've included terminal property for each directive that asserts it https://gist.github.com/awerlang/fea0da3b61cf1f4b1a8a Hope it helps someone... read more »