Demo code for unit testing angular.