Displaying multiple Angular views on page load

Using the ui-router with Angular, multiple views can be displayed in a single state.
This can be done using “relative” naming or “absolute” naming. This post will show one way it can be done using “absolute” naming.

Read More

Uploading local images using AngularJS

This post will show you how to upload local images using Angular and ng-upload. A few notes before we dive into the technical details: the code snippets below were added to my existing code, this was part of a MEAN stack app (Angular, Express/Node, MongoDB). This is recommended for users who have some minimal experience with AngularJS controllers.

Read More

Danger Variables. Don't Blow Your Stack!

Whenever you are writing a recursive function, you run the risk of the recursion never ending and causing a stack overflow. One way to prevent this is to create a “danger” variable. Essentially, the danger variable is a way to provide an exit from a function that is running in infinite recursion.

Read More