Built-In and Custom AngularJS Filters

Now that you knowBuilt-In_and_Custom_AngularJS_Filters_Kayla_Funke_Easy_Dynamics.png how to write custom AngularJS directives and how AngularJS helps validate forms, let’s move on to the next great feature. AngularJS filters make it easy to display a subset of items from a collection. They are used with directives like ng-options and ng-repeat. Read this guide to learn how to decipher their syntax and even write your own. 

Continue reading “Built-In and Custom AngularJS Filters”

How to Write Custom AngularJS Directives

Much of Angular’s built-in functionality is provided by modular slices of code called directives. You can write custom directives to perform form validation, to minimize code repetition, to attach events to elements, to inject markup into templates, and more. Directives are so powerful that their usefulness is limited only by how well you understand them. Get more out of Angular by learning how to write custom directives today.

Continue reading “How to Write Custom AngularJS Directives”

Event Handling in ArcGIS for JavaScript

ArcGIS for JavaScript is a mature and powerful framework for creating interactive maps and layers. Your map can respond to users easily by leveraging the robust collection of ArcGIS events. Just about every widget or module comes with a set of events that are easy to hook up.

Since the ArcGIS for JavaScript API is asynchronous, an event-driven approach is encouraged. Operations do not finish immediately or in sequence, so you must listen for information to determine when an object is ready. The event model is flexible and intuitive—events are very simple to register and you may keep track of multiple handlers for the same event.  Continue reading “Event Handling in ArcGIS for JavaScript”

How AngularJS Helps Validate Forms

With AngularJS, you can apply a wide variety of checks and effects to form elements. This blog will go over some of the basics. Not only does Angular allow you to validate user input using built-in and custom directives, but it also automatically furnishes your elements with helpful CSS classes. 

Angular will help you take advantage of the many basic validation options included in HTML5, such as the required attribute and additional input types like email and URL. Angular extends the available options with their own directives like ng-maxlength and ng-minlength

Continue reading “How AngularJS Helps Validate Forms”