12th Apr

Angular Formly

Tuesday, April 12, 2016 - 10:09
Author: Bársony Ildikó
This article is written with expectations of the reader to have basic understanding of the following technologies: html, javascript, Bower, Angular JS This article aims to supplement angular-formly documentation and highlight important or interesting cases. Angular-formly documentation is located here: http://angular-formly.com Angular Formly is a module of Angular framework designed to make form construction simpler. The code of a form will be moved from html context and will be placed into a well structured javascript object in JSON format. It is easier to maintain and handle, the
11th Apr

The scope of directives in AngularJS

Monday, April 11, 2016 - 11:55
Author: Bartos Gergely
DirectivesDirectives are very powerful features of AngularJS. Imagine them as building re-usable components of any AngularJS application.The scopeEvery directive has a scope associated with it which is used for accessing data/methods inside the template and link function. Scope by default inherits from its parent scope, but this may not be desirable behavior, especially if you are building a re-usable widget.You can change the default scope of directives by passing a configuration object known as directive definition object. A directive definition object (DDO) is a simple JavaScript object