Underscore.JS: Access local variables and function inside each function of UnderscoreJS in Typescript
How to access local variables and functions inside Underscore.js _.each loops when using TypeScript with AngularJS.
Muhammad Hassan is a Full Stack Developer specializing in ASP.NET, MVC, WebAPI, Angular, and advanced JavaScript. He shares tutorials, open-source contributions, and technical insights on modern web development and enterprise applications.
9 articles from this blog
How to access local variables and functions inside Underscore.js _.each loops when using TypeScript with AngularJS.
Fixing a TypeScript error in AngularJS when initializing a RegExp object incorrectly, with two valid solutions.
Explains how to add HTML line breaks and elements to Angular Bootstrap UI tooltips using uib-tooltip-html and $sce.
A tutorial on implementing a reusable custom loader/spinner as a service in an Angular 2 application using BehaviorSubject.
Fixes for the TS5023 compiler error in Angular2 projects using Visual Studio 2015, caused by unknown 'typeRoots' and 'types' options.
A tutorial on configuring and sending emails from an ASP.NET Core application using Gmail and Hotmail SMTP servers.
A guide to using a NuGet package for integrating Angular 2 into ASP.NET MVC and WebAPI applications, including setup and configuration.
A tutorial on creating a custom Angular pipe to sort datetime columns in an *ngFor directive, handling both ascending and descending order.
A tutorial on creating a custom search filter pipe for the *ngFor directive in Angular 2 to replace Angular 1.x filters.