ATM: Angular Module - Order of Injection

Once I had identified and dealt with the definition versus loading problem, I had a short but productive streak, only to come to a complete halt because of another cryptic problem. While the definition versus loading problem is an obvious mistake (albeit easy to make, easy to overlook, and hard to diagnose), my next cryptic problem was not one that I, or the senior programmers that were kindly helping me, even knew to look for.

Read More ...

ATM: Angular Module - Definition vs Loading

Angular uses a very similar statement to define a new module and to load an existing module. For example, the initial definition for my stage-hand app was:

1
var shApp = angular.module('shApp', []);

While the statement to load my stage-hand module (e.g., at the beginning of the controller and service files) was:

1
var shApp = angular.module('shApp')

Note that the only differences are , [] and ;, so it’s easy to make a mistake.

To make matters worse, the symptoms were really cryptic.

Read More ...

All The Mistakes

While starting my stage-hand project I ran into several ‘black box’ problems. After spending a frustratingly inordinate amount of time ripping code apart, I was able to identify two separate problems. One was an easy to make mistake that I thought I had checked for early in the debugging process. The other problem didn’t make any sense at all, but thankfully I stumbled across an explanation that made a load of sense.

Read More ...

Project Introductions

One of the reasons I wanted to do a bootcamp is my own overflow of application ideas. This past week is the first time that I felt like I could start to implement one of my ideas using JavaScript. I’ll be posting a bit more about that in the near future, but first I wanted to share a little bit about the app ideas that are fighting for my cognitive process.

If you’re interested in any of these projects, please let me know!

Read More ...

DevMountain - Week Four

This week felt like an Angular roller-coaster. In the end, I seem to be able to make Angular apps, but I definitely still don’t understand Angular.

There are at least four different reasons for this situation: prerequisite expectations, inconsistent documentation, instructional style, and an off-week for my brain.

For those that have read my previous posts, I’m finally starting to link to the projects that I’ve completed. This week’s post and my week one post have a results section at the very end that highlights and links to these projects. I should have week two and week three done next weekend.

Read More ...