Presentation On AngularJS Internals – $provide’s API and $injector.

December 8, 2013

A great AngularJS overview of the $provide’s API and $injector. Differences between providers, factories, services, values, constants, and decorators. This presentation was written by a good Colleague of mine and a talented Front-End Developer Yan Yankowski. http://blog.ttyed.com/2013/12/a-lecture-on-angularjs-internals-which.html
tags: ,
no comments

AngularJS – Migrating From 1.0 to 1.2 $event Object Changes

December 4, 2013

Here's a quick tip about how to avoid $event object problems when migrating AngularJS From 1.0 to 1.2 version. After migrating to 1.2 version i noticed that the $event.srcElement  object we get when working with  ng-click or some other event function, is deprecated and for some reason is not documented at all. So keep in mind and use other similar objects $event has to offer us. For example you can use $event.currentTarget it will give you the same result. Hope you'll find this quick post helpful.
no comments