Form validation with AngularJS and Rails | Hacker News Reader