Thanks to visit codestin.com
Credit goes to bennadel.github.io

Using URL Interpolation With $http In AngularJS