update examples to use angular.js 1.3.0
add form validation example