Setting AngularJS with a small test