I am a newbie to AngularJS. I developed a simple currency converter app for which I would like to set a nice image background. This is my UI code:
<head>
<title></title>
</head>
<body >
<center>
<div ng-style="{'background-image':'url(https://static.vecteezy.com/system/resources/previews/000/050/156/original/9-stylish-vector-world-map-vector.jpg)'}">
<div class="label" ng-controller="countryMapper" style="display:inline-block">
//Internal code here
</div>
</div>
</center>
<script src="Scripts/angular.min.js"></script>
<script src="app/app.module.js"></script>
<script src="app/main.js"></script>
I am just not able to set a full background image to the app. Please tell me how to do this in detail
1) If fetching the image from a URL
2) If using a local image, saved in the project