AngularJS update and directives refactoring

* Directives were refactored so they work with new kc-read-only directive
* AngularJS and related libraries were updated to the newest versions