AngularJS form validation and ng-messages

I’ve been working on a simple example AngularJS app uses ng-messages. Code so far is on my github here. This is part of my ongoing activity learning AngularJS. You can see my other posts and progress so far here. To get up to speed with ngMessages, there’s a great tutorial here, and online docs here.

AngularJS and unit testing: Jasmine, Karma and mocks

I spent some time a while back getting up to speed with unit test approaches with AngularJS, but it’s been a while and I need to retrace my steps to pick it up again. For (my) future reference, here’s a list of the notes I had before: https://www.kevinhooke.com/2015/04/18/simplest-angularjs-service-and-a-jasmine-unit-test/ https://www.kevinhooke.com/2015/04/12/setting-up-karma-and-jasmine-unit-testing-for-an-angularjs-app/ https://www.kevinhooke.com/2015/04/15/using-mocks-with-jasmine-tests-for-angularjs/ To pick this up again, …