Major Redesign

This commit is contained in:
Luke Vella 2015-01-16 12:32:33 +01:00
parent 2f0c8fdeab
commit c97dcc5da7
40 changed files with 746 additions and 112 deletions

View file

@ -0,0 +1,9 @@
angular.module('rallly')
.directive('backImg', function(){
return function(scope, element, attrs){
var url = attrs.backImg;
element.css({
'background-image': 'url(/images/' + url +'.png)'
});
};
})