Extending Javascript objects with a help of AngularJS extend method

Multiple ways of extending javascript objects /** * One-way reference from subclass to superclass (instance) * Most of the time this is what you want. It should be done * before adding other methods to Subclass. */ ChildClass.prototype = new SuperClass(); /** * Two-way reference * Superclass will also get any Subclass methods added later. […]

The post Extending Javascript objects with a help of AngularJS extend method appeared first on Ivan Turkovic.

AngularJS directive multiple element

How to get AngularJS directive multiple element You probably know there exists opening ng-repeat-start and finishing directive ng-repeat-end like: <ul> <li ng-repeat-start="user in users"> {{user.firstName}} </li> <li ng-repeat-end> {{user.firstName}} </li> You would think it is a specially made directive that works that way but actually it is not. It is part of any directive so you can […]

The post AngularJS directive multiple element appeared first on Ivan Turkovic.

How to record iPhone screen

To record iPhone screen has never been easier Developing great new iOS application requires not just a usable application, but also a great video presentation of it. How it works, basic usability tricks to make users want to get your new application which you spent numerous hours to make it perfect. If you are working […]

The post How to record iPhone screen appeared first on Ivan Turkovic.

AngularJS and Ruby on Rails work together

Finding the best integration of AngularJS and Ruby on Rails Recently I got really excited with AngularJS so to make it work perfectly with Ruby on Rails there are some configurations needed. There are available blog posts on how to integrate it perfectly but somehow I wasn’t happy with the available preferences. Some offered to […]

The post AngularJS and Ruby on Rails work together appeared first on Ivan Turkovic.

Four Questions About Leadership

I hear four questions asked about leadership often. This article gives a short answer to each of these important questions. Why Does Leadership Matter? Parents universally hope that their children develop leadership qualities. They know that leaders are people who are effective in what they do, are respected by others, and typically rewarded for those […]

The post Four Questions About Leadership appeared first on Ivan Turkovic.