Added ng-model for validation

Fixed lint errors
Merge pull request #10 from alex-deaconu/master

Added ng-model for validation