We love JavaScript and have worked with A LOT of JavaScript frameworks. AngularJS no exception. Learn from our mistakes and successes and become an AngularJS master yourself. The JavaScript is waiting for you...
-
Angular API Calls with Django, Part 2: Building the Micro-Blog App
This is the second part of a two-part series exploring the use of the Angular 6 HttpClient to make API calls against a Django back-end using Django Rest Framework.
-
Angular API Calls with Django: Authentication with JWT
Curious about how to make API calls with Angular 6 and the HttpClient service? This tutorial will show you some techniques for building a decoupled micro-blogging application using Angular 6 and the Django Rest Framework (DRF). Along the way, we will learn the following
-
Angular 6: Upgrading API calls to RxJS 6
With the release of Angular 6.0 in May 2018, the framework has been updated to depend on version 6.0 of the RxJS library.
-
Angular 5: Making API calls with the HttpClient service
Angular 4.3 introduced a new HttpClient service, which is a replacement for the Http service from Angular 2. It works mostly the same as the old service, handling both single and concurrent data loading with RxJs Observables, and writing data to an API.
-
URL Routing for a Decoupled App, with Angular 2 and Django
Lately, I have worked on a few projects where a single-page Angular app is contained within a site built on a server-side framework like Django. One of the challenges is to get their URLs to play nicely together.
-
Angular 2: Using the HTTP Service to Write Data to an API
Update, November 27, 2017: This post explains the Http service used in Angular 2. This is now deprecated in favor of the newer HttpClient released in Angular 4.3. This post will remain here as long as Angular 4.x is in long term support.
-
Angular 2: HTTP, Observables, and concurrent data loading
Angular 2 provides a new pattern for running asynchronous requests, called Observables. Here, we will review a few of the concepts and eventually see how to run multiple concurrent HTTP requests, with the callbacks running only after all of them have completed.
-
AngularJS: Adding a user-friendly default option to ng-options
Angular's ng-options directive provides a nifty way to build a select element based on an array in your scope. It can even bind the options to objects in the array, not just string values. But its handling of default values can be a bit puzzling.
-
AngularJS Query String handling using $location.search()
Note: This article refers to AngularJS v1.x only. If you're working with Angular 2 or above, take a look at the ActivatedRoute class, which can provide similar functionality.
-
Angular JS Promises: From Service to Template
In this blog post, we will learn how to request an HTTP GET call from an AngularJS Service and display the data in the template while avoiding the common pitfall of loading the template before the asynchronous call has been received.
-
Comparison of AngularJS cache vs. browser HTTP cache
When working with Angular's $http service, one of the nifty options is a built-in cache service. It's off by default, and enabling this service can prevent repeated requests for the same resource.
-
How To: Create a form show/hide password system in AngularJS
Numerous times during working with AngularJS there have been these moments of, oh, wow... OH, now that's cool... wow... Usually followed up by a warm happy feeling because what I wanted to do was possible and the solution was so simple. This started to happen pretty frequently.
-
Angular services and useable patterns
AngularJS is a relatively new javascript framework that is taking the web application development world by storm. It boasts some incredible architecture and supporting components that change the way you think about building applications. One of those components is known as 'services'.