সম্পাদনা
<!DOCTYPE html> <html ng-app="app"> <body> <div ng-controller="app"> <p>{{url}}</p> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.8.3/angular.min.js"></script> <script> angular.module("app", []) .controller("app", function($scope, $location) { $scope.url = $location.absUrl(); }); </script> </body> </html>
পূর্বরূপ