Angular JS, running with Rest, and tested with arquillian