Welcome aboard! We are happy you are here and wish you good net-raft!
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="//code.angularjs.org/snapshot/angular.min.js"></script>
</head>
<body ng-app="myngapp">
<script>
angular.module('myngapp', [])
.controller('mymodule', ['$scope','$location', function ($scope,$location) {
var absUrl = $location.absUrl();
$scope.qrCode = 'https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=' + absUrl + '&choe=UTF-8';
} ]);
</script>
<div ng-controller="mymodule">
<img ng-src="{{qrCode}}" alt='QR code'>
</div>
</body>
</html>
The most helpful ANGULARJS solutions
How to get client ip address using angularjs ?ANGULARJS Click to see more ... 19.2K 2.8K