add compatibility for angular#1.3.x

This fixes the error in angular 1.3.x and makes the controller available in compile and link methods - unsing angulars build in angular.extend method. Works with 1.2.24 as well.

[Demo] (http://plnkr.co/edit/CJw5ZIO1vXdNSMPQiyXp?p=preview) | [Reference](https://github.com/angular/angular.js/blob/master/CHANGELOG.md#since-1217-and-130-beta10) (section: $compile).