Tag: Angularjs

Ng-Conf just happened last week in Salt Lake City, Utah. It was awesome. Oh blast, I blew the punch line. Anyway, here’s my take.

Angular’s ngClicks can be attached to anything. This makes it easy to add interactivity to elements on the DOM. Your program might require that these click callbacks be disabled at certain points, such as during form processing. ngClick doesn’t have a toggle built in. Let’s build one that might help.

It’s sometimes useful to be able to preload or resolve data previous to an Angular view being displayed. Such was the case recently for our current user object. It simplified a lot of things in the app to have the guarantee of a loaded current user previous to displaying pages. The Angular router has a great mechanism built in to do just this sort of thing, called resolve.


ngStyle is the directive used to set inline style attributes with AngularJs. Most of the time, it’s straightforward to use. background css attributes can be just slightly trickier.

There are a couple ways to make cross domain requests from a client browser. One method is called Jsonp or Json with padding. The AngularJs library makes this really simple.