Posts by Ângelo Martins • 11 points
1 post
-
1
votes2
answers93
viewsA: Random background images with Angularjs
You can use the Angular ng-style attribute to apply directly, for example like this: <div ng-style="exemplo"></div> And then on the controller you use it like this: $scope.exemplo =…