Added module to angular js which can make queries to rest pretty easy;
Fixed rest interactions