Tag Archives: AngularJS

A responsive, AngularJS “movie picker”

So, I have been working on a little side-hustle and I figured that I would share the most recent chunk of it.  I needed a way of allowing a person to uniquely select a movie.  You don’t want to just give the user a free-form box because of the 52 different ways you could input some movie titles.  So, what do you do?  I created a search box, to query IMDB by title.  The API returns a single result, so I displayed it below the search box, as the user types.

I wouldn’t call this an “official” API, so I would be careful.

View in Plunker

Run in Plunker

View in jsFiddle

Run in jsFiddle

AngularJS: Exploring ng-repeat, ng-show, and more

I have been meaning to to explore the capabilities of AngularJS a little more, so I whipped up this small demo app.  It takes your zip code (hard-coded into the JavaScript file), queries a YQL API, and displays a listing of the nearest NPR stations.  It is not the most unique piece of code but it gives me a chance to explore a few concepts.

Continue reading AngularJS: Exploring ng-repeat, ng-show, and more