I'm using Spring Data REST and have a MySQL DB to manage my data.
With AngularJS I programmed my first page and want to get data from my DB.
To get my data I know about two different ways:
There is no difference,
$http.get('http://myURL') is just a shortcut for