March 26, 2014
When deep $watch is needed on an array, but not for the entire object, you can strip off irrelevant data, this way you make the comparison much faster.
Example: (solution by Karl Seamon)
}, myHandler, true);
this way you watch only what you need.
Live example for watching only for "name" property:
hope you’ll find this post helpful.
January 27, 2014
A great presentation by Vojta Jina, Senior Software Engineer in Google and a contributor to AngularJS about "Dependency Injection and Possible Future of AngularJS" took place in ng-conf conference.
A must see video and presentation about "Dependency Injection and Possible Future of AngularJS".
link: Presentation document
A great presentation by Karl Seamon, Senior Software Engineer in Google and a contributor to AngularJS about "Optimizing a Large Angular Application" took place in ng-conf conference.
A must see video and presentation about optimizing a Large AngularJS Application.
The covered topics are:
A) The Problems
B) Basics and Best Practices
C) Diagnosing performance problems
D) Improving performance within AngularJS
link: Presentation Document
January 7, 2014
Recently for one of my projects I needed to add drag and drop (DnD) functionality.
After examining the native HTML5 DnD I come to conclusion that the awesome HTML5 feature still suffers from cross browser computability issues, second of all the lack of mobile touch support really pissed me off. On the other hand, Canvas has no cross browser computability issues and has a great touch support.
To make a long story short, I implemented Canvas DnD functionality in AngularJS directive.
December 19, 2013
Quick example for getting the Israeli licence plate number using Regular Expressions pattern.
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.
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.
July 21, 2013
I would like to share my presentation about "Creating Facebook canvas apps using the new template and library for ASP.NET MVC 4”
Presentation link: https://dl.dropboxusercontent.com/u/18850826/
FacebookGoogleSlider/index.html (open in chrome browser).
Presentation on SlideShare:
Creating facebook canvas apps from Alex Choroshin
Hope you’ll like it
June 19, 2013
I would like to thank everyone who attended my session and hope to see you soon.
My presentation on SlideShare.
Ui components from Alex Choroshin
May 17, 2013
Since the Pipeline Extensibility is not restricted to any content source and the fact that you do not have a proper API, makes it really hard to work with a specific Content Source.
Luckily for us we have a Crawled Property which is mapped to the managed property "ContentSource":
<CrawledProperty propertySet="012357BD-1113-171D-1F25-292BB0B0B0B0" varType="31" propertyName="315" />
So you can include this in your extensibility configuration and you can see which content source the data came from and apply appropriate logic.
static void Main(string args)
XDocument inputDoc = XDocument.Load(args);