instructions and tests for Angular.JS