Articles with JavaScript

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…

Read More

TypeScript 101: Benefits and How To Install It

  TypeScriptLang tells us that “TypeScript is a superset of JavaScript that compiles to plain JavaScript.” Therefore, it is essentially JavaScript, but with Object-Oriented features and keywords to help keep your code clean and maintainable. This blog post is a TypeScript 101 of sorts in which I will explain why you should use it and how to set it up.