For example I have 3 links on my page: A B C,
When I click A it should function something like this
var app = angular.module('myApp', []);
app.controller('myCtrl', function($scope, $http) {
$http.get("some.url/A")
.then(function(response) {
$scope.myWelcome = response.data;
});
});
"A" should dynamically reach the url when I click A. How to do it angularJs