AngularJs Resources Improved