Sample spray app with angularJs