using angular from a rails cast tutorial. follow along.