AngularJS friendly "declare" form